Files
RCBASIC4/doc/files/getdesktopdisplaymode.txt

11 lines
411 B
Plaintext

#title GetDesktopDisplayMode [RCBasic Doc]
#header Sub GetDesktopDisplayMode(index, ByRef w, ByRef h, ByRef freq)
Gets the resolution and refresh rate of a display
#list
#li index - The display index (ie. if you have 3 displays then index could be 0, 1, or 2)
#li w, h - The width and height of the display will be stored in these variables
#li freq - The refresh rate will be stored in this variable
#/list