XPLMGetWindowGeometry

From X-Plane SDK
Jump to: navigation, search

XPLMGetWindowGeometry

XPLM_API void                 XPLMGetWindowGeometry(
                                   XPLMWindowID         inWindowID,    
                                   int *                outLeft,    /* Can be NULL */
                                   int *                outTop,    /* Can be NULL */
                                   int *                outRight,    /* Can be NULL */
                                   int *                outBottom);    /* Can be NULL */
This routine returns the position and size of a window in cockpit pixels. Pass NULL to not receive any paramter.