Here is what I did to find if "any" popup-menu is open
ImplSVData pSVData = ImplGetSVData(); if ( pSVData->maAppData.mpActivePopupMenu) printf("popup is open\n");
Question: How do I find if "any" of the menubar is open ??
There is a private member in the Menu class: Menu* pStartedFrom which always points to the parent popup menu / menu bar. So you would have to add a new function to class PopupMenu (which is a friend of Menu and thus can access this member) and could walk up the chain until you eventually find the menubar (or not) by using Menu::IsMenuBar().
Stephan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
