SysInfo: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
m (Ghenne moved page Sysinfo to SysInfo)
No edit summary
Line 7: Line 7:
{| class="wikitable"
{| class="wikitable"
|-
|-
| SM_CXScreen|| 0 || Width of screen
| 0 || Width of screen || SM_CXScreen
|-
|-
| SM_CYScreen || 1 || Height of screen
| 1 || Height of screen || SM_CYScreen
|-
|-
|  || 10 || Milliseconds since 01/01/70
| 10 || Milliseconds since 01/01/70
|-
|-
| HorzRez || 108 || HiRes Display width pixels
| 108 || HiRes Display width pixels || HorzRez
|-
|-
| VertRez || 109 || HiRes Display height pixels
| 109 || HiRes Display height pixels || VertRez
|-
|-
| LogPixelsX || 188 || Pixels per inch horizontal
| 188 || Pixels per inch horizontal || LogPixelsX
|-
|-
| LogPixelsY || 190 || Pixels per inch vertical
| 190 || Pixels per inch vertical || LogPixelsY
|}
|}



Revision as of 13:50, 7 March 2013

SysInfo(number)

Description

SysInfo returns information about the device.

0 Width of screen SM_CXScreen
1 Height of screen SM_CYScreen
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.