XPFindRootWidget
WIDGET_API XPWidgetID XPFindRootWidget(
XPWidgetID inWidget);
Returns the Widget ID of the root widget that contains the passed in widget or NULL if the passed in widget is not in a rooted hierarchy.