First part is for Ruslan, second part is for Robin and co.
Ruslan -
I am using this piece, and I have actually written a very simple mixin
that makes adding a taskbar icon very simple. Just have your frame
extend this class, and intialize it by passing it the icon you want to
display.
Robin and co.-
What I am want to point out is that these taskbaricons dont refresh
themselves when the explorer crashes, this means the app is
effectively unrecoverable. I dont know enough c++ to fix this problem
but here is an excerpt someone posted on my forum.
taskbarapp.py (2.6 KB)
···
----------------
There is a message that the OS sends when it re-creates the taskbar.
But,
unlike other messages, there is no WM_ constant or even a constant
value for
this one. But, you can get it by doing:
TaskbarCreateMsg := RegisterWindowMessage('TaskbarCreated');"
Is this any use?
sTe
------------
Can anyone use this to patch the taskbarappp implementation?
Sam
Quoting Tim Lesher <tim@lesher.ws>:
On Tue, Jul 15, 2003 at 02:04:05PM +0300, Ruslan Spivak wrote:
> Can anybody give me hint how to make so that wxPython program under> windows can go into tray after minimizing?
wxTaskBarIcon does most of what you need. In your top-level window,
handle the wxIconizeEvent with EVT_ICONIZE; when you get that, hide
your main window and create a tray icon with wxTaskBarIcon.--
Tim Lesher <tim@lesher.ws>
http://www.lesher.ws---------------------------------------------------------------------
To unsubscribe, e-mail:
wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwindows.org