Re: [Plib-users] Menubars overlapped by other widgets
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-10-11 04:12:23
|
"Vaughn C. Clayton" wrote: > > I am developing a data visualization program that uses PUI for a menubar > and widgets to change options and things. I have multiple sets of widgets > that I create and destroy depending on what options the user is working > with. The problem is that the menus dropped down from the menubar are > displayed behind the currently displayed widgets. > Is there any way to explicitly set the draw order, or the layer, or > whatever you want to call it? Or are there any other ideas that could get > these menus on top where they belong? > > BTW - I mentioned that I create and destroy sets of widgets because I > think the problem is that the menubar is created once, before all these > other widgets, and is therefore drawn first, then overlapped. Yes - that's exactly it. Widgets are drawn in the order they are declared. I suppose you should delete and recreate the menu bar after each time you delete and recreate one of the other widgets. It's probably not that inefficient compared to regenerating those other widgets. I guess this is kindof unfortunate...and rather nasty to fix too. Ick! -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |