SysInfo

From NSB App Studio
Revision as of 20:16, 8 July 2012 by Brendon (talk | contribs) (Created page with "SYSINFO(''number'') '''Description''' SYSINFO returns information about the device. This is not a complete list of return values: see Microsoft’s documentation on GetSyste...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SYSINFO(number)

Description

SYSINFO returns information about the device. This is not a complete list of return values: see Microsoft’s documentation on GetSystemMetrics and GetDeviceCaps for more.

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.