Shiny Language Reference
Language Reference > Basic Functions
getscreenheight
int getscreenheight();
Returns the height in pixels of the current desktop resolution
GETSCREENHEIGHT queries Windows and returns the current height in pixels of the desktop. This can be used in conjunction with SETPANELPOS to move the display panel around the screen.
Parameters
None
Return Value
The height in pixels of the desktop.
Example Code
// Get the desktop height
int Height = getscreenheight();