SysInfo: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
m Ghenne moved page Sysinfo to SysInfo
(No difference)

Revision as of 11:33, 6 November 2012

SysInfo(number)

Description

SysInfo returns information about the device.

SM_CXScreen 0 Width of screen
SM_CYScreen 1 Height of screen
10 Milliseconds since 01/01/70
HorzRez 108 HiRes Display width pixels
VertRez 109 HiRes Display height pixels
LogPixelsX 188 Pixels per inch horizontal
LogPixelsY 190 Pixels per inch vertical

Example

Rem SysInfo Example
MsgBox "The device’s DPI is " & sysInfo(188)

Output

The device’s DPI is 96.