SysInfo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 7: | Line 7: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| 0 || Width of screen || SM_CXScreen | | 0 || Width of screen - actual screen size in Portrait mode || SM_CXScreen | ||
|- | |- | ||
| 1 || Height of screen || SM_CYScreen | | 1 || Height of screen - actual screen size in Portrait mode || SM_CYScreen | ||
|- | |- | ||
| 10 || Milliseconds since 01/01/70 | | 2 || Width of screen in current orientation || | ||
|- | |||
| 3 || Height of screen in current orientation || | |||
|- | |||
| 4 || Running on a mobile device? True/False || | |||
|- | |||
| 10 || Milliseconds since 01/01/70 || | |||
|- | |- | ||
| 108 || HiRes Display width pixels || HorzRez | | 108 || HiRes Display width pixels || HorzRez |
Revision as of 13:56, 7 March 2013
SysInfo(number)
Description
SysInfo returns information about the device.
0 | Width of screen - actual screen size in Portrait mode | SM_CXScreen |
1 | Height of screen - actual screen size in Portrait mode | SM_CYScreen |
2 | Width of screen in current orientation | |
3 | Height of screen in current orientation | |
4 | Running on a mobile device? True/False | |
10 | Milliseconds since 01/01/70 | |
108 | HiRes Display width pixels | HorzRez |
109 | HiRes Display height pixels | VertRez |
188 | Pixels per inch horizontal | LogPixelsX |
190 | Pixels per inch vertical | LogPixelsY |
Example
Rem SysInfo Example MsgBox "The device’s DPI is " & sysInfo(188)
Output
The device’s DPI is 96.