When application starts or is maximized how to no take focus

Geoff Skerrett Geoff at teammsa.com
Mon Apr 2 08:00:06 PDT 2007


Can anyone suggest a methodology that would allow our application to
start up (or be maximized by the user from the system tray) but not have
our application become the top window within the entire system and take
the system focus.
 
The scenario;
Our application monitors a "target" application. 
When a specific window is displayed by the user in the target
application, our monitor application "pops-up" from the system tray.
Unfortunately, this takes the "focus" away from the target application
forcing the user to user there mouse to "click" back to the target
application to continue their work. 
We would like our application to pop-up but not take the focus away from
the other application.
 
Our popup application's mainframe is constructed with the style
parameter wx.STAY_ON_TOP
 
We are using WinXP SP2, wxPython 2.8.2 and Python2.4.
 
Any suggestions ??
 
TIA.
Geoff.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20070402/0d353b41/attachment.htm


More information about the wxpython-users mailing list