ISInterface:GetDisplaySize

From Lavish Software Wiki
Jump to navigation Jump to search

Syntax

  • bool GetDisplaySize(unsigned long &Height, unsigned long &Width)

Purpose

To obtain the display size of the window

Usage

Parameters

  • unsigned long &Height
[out] Variable to set to the windows height
  • unsigned long &Width
[out] Variable to set to the windows width

Return Value

  • bool
Returns true on success, false on failure

Examples

unsigned long wHeight, wWidth;
pISInterface->GetDisplaySize(wHeight,wWidth);
printf("Height: %d Width: %d",wHeight,wWidth);

See Also