hi rooters, I encountered a problem in the gui classes: It seems that the cascading pop-up menus don't show up, if the process is busy e.g. with analysing events. One example is in the guitest program in $ROOTSYS/test. Have a look at the following: 1. choose "Dialog" from the "Test" menu in the WinTest window. 2. goto "Tab 3" and "start filling hists" 3. goto "Test" menu in the WinTest window and try to activate "Cascaded menus" They won't show up. If you push "stop filling hists" first, they will show up. In the ideal case, I would like the process to wait until the sub-menu item has been selected and then continue with the analysis of the event. This is the case if I select "Message Box" in the "Test" Menu of the WinTest window. I would like to add a fClient->WaitFor(this) whenever the pointer goes to the cascading menus. Since this menu item doesn't create a message (event), that is send to the main frame, I can't do that in my code. It looks to me, that the problem could be solved by adding this line to TGPopupMenu::Activate(TGMenuEntry *entry). Please let me know, if there is a workaround that I didn't see. thanks, Judith
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:17 MET