SysInfo

From NSB App Studio
Revision as of 16:00, 28 September 2012 by Ghenne (talk | contribs)
Jump to navigation Jump to search

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.