From X-Plane SDK
WIDGET_API void XPBringRootWidgetToFront( XPWidgetID inWidget);This routine makes the specified widget be in the front most widget hierarchy. If this widget is a root widget, its widget hierarchy comes to front, otherwise the widget's root is brought to the front. If this widget is not in an active widget hiearchy (e.g. there is no root widget at the top of the tree), this routine does nothing.