Subject: Re: [wxPython] App activation and wxWindow.Raise()
Date: Thu, 3 Jan 2002 09:15:19 -0800
From: "Robin Dunn" <robin@alldunn.com>
Reply-To: wxpython-users@lists.wxwindows.org
To: <wxpython-users@lists.wxwindows.org>
References: <3C3370E2.F6619386@ccvcorp.com>> I've got an application that has a main window and two
> supplementary windows. (They use the wxMiniFrame style, and
> don't appear on the taskbar.) This is meant to be used
> alongside another program, and I expect that the various
> windows will occasionally be covered. I'd like to arrange
> it so that, when my app is activated (by clicking the
> taskbar button or the window itself), all three windows get
> brought to the top.If you are using 2.3.x and your mini frames have your main frame as a parent
then you should get the behaviour you want automatically. It will also work
with regular wxFrames with a wxFRAME_TOOL_WINDOW style.
Ah, that works--for some reason that I don't recall now, I hadn't been setting my main frame as parent. Great!
Now I'd like to suppress the 'close' box on the title bar of the tool window, if possible--I want it to always be open. I get the look I want if I use a wxFrame with
a wxFRAME_NO_TASKBAR style, but that doesn't seem to have the desired activation behavior. Is there some flag I can toggle to turn off the close box? I don't see any
frame styles that look like they'd apply.....
Jeff Shannon
Technician/Programmer
Credit International