getWindowPositionY

WindowModuleInterface::getWindowPositionY

Returns the vertical position of the window on the screen.

Declaration

virtual int getWindowPositionY(WindowID windowID) = 0;

Parameters

Name

Type

Description

windowID

WindowID

The window to get the vertical position of.

Returns

The vertical position of the window on the screen.

Notes

The position’s origin on the window is the top-left corner of the window.

The position’s origin (0, 0) on the screen is the top-left corner of the main monitor.