Hi,
I was wondering how I could setup a frame using wxPython 2.3.2
that does not have one of the usual taskbar entries with just
appears but uses a wxTaskBarIcon() and an associated menu next to
the clock.
I tried to use the wxFRAME_TOOL_WINDOW for creating the frame,
but then, there is no system menu or minimize entry anymore...
Anyone knows help?
Lars
Lars von Wedel wrote:
I was wondering how I could setup a frame using wxPython 2.3.2
that does not have one of the usual taskbar entries with just
appears but uses a wxTaskBarIcon() and an associated menu next to
the clock.
I tried to use the wxFRAME_TOOL_WINDOW for creating the frame,
but then, there is no system menu or minimize entry anymore...
Anyone knows help?
If you're specifying the frame style, then you need to include all of
the flags that you want. In this case, you'd need to do
wxFRAME_TOOL_WINDOW | wxMINIMIZE_BOX | wxSYSTEM_MENU. You might also
wish to include the wxMAXIMIZE_BOX and wxRESIZE_BOX styles as well.
(Check the wxFrame documentation for a list of appropriate styles.)
Jeff Shannon
Technician/Programmer
Credit International