From: Alex T. <al...@tw...> - 2005-08-29 19:28:14
|
Gregory Piñero wrote: > Do you know of any way to keep it in front of all other applications? > Yes - but I think it's such a spectacularly bad idea to write such an application, I'm tempted not to tell you :-) :-) OK - what I tried was to create timer (I just fired it once per second), and had it do this > def on_TextField1_timer(self, event): > self.childWindow.Raise() > self.Raise() self.Raise() will raise the main window to the top (i.e. over other apps), but not over any dialog window invoked from the main window (the dialog window will also come up to above other apps) Just to try if it could be done, this test also raises a child window - nasty flicker if they overlap and I suspect some tricky cases possible with interaction between the main window, any dialog and the child 0 but otherwise works. I still say you shouldn't do it :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005 |