Difference between revisions of "XPGetWidgetGeometry"

From X-Plane SDK
Jump to: navigation, search
 
m (1 revision)
 
(No difference)

Latest revision as of 19:51, 20 April 2009

XPGetWidgetGeometry

WIDGET_API void                 XPGetWidgetGeometry(
                                   XPWidgetID           inWidget,    
                                   int *                outLeft,    /* Can be NULL */
                                   int *                outTop,    /* Can be NULL */
                                   int *                outRight,    /* Can be NULL */
                                   int *                outBottom);    /* Can be NULL */
This routine returns the bounding box of a widget in global coordinates. Pass NULL for any parameter you are not interested in.