From: <gre...@gm...> - 2005-08-29 19:48:50
|
Thanks Alex.=20 That might be worth a try. I want my app to stay on top because I need to= =20 copy stuff off of web pages and paste it into my app and it's annoying to= =20 always have to click back to it. It would probably be smarter to integrate= =20 my app into Firefox as an extension but then I'd have to learn a whole new= =20 set of skills! -Greg On 8/29/05, Alex Tweedly <al...@tw...> wrote: >=20 > Gregory Pi=F1ero wrote: >=20 > > 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 :-) :-) >=20 >=20 > OK - what I tried was to create timer (I just fired it once per second), > and had it do this >=20 > > def on_TextField1_timer(self, event): > > self.childWindow.Raise() > > self.Raise() >=20 > 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) >=20 > 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. >=20 > I still say you shouldn't do it :-) >=20 > -- > Alex Tweedly http://www.tweedly.net=20 >=20 >=20 >=20 > -- > 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/200= 5 >=20 >=20 --=20 Gregory Pi=F1ero Chief Innovation Officer Blended Technologies (www.blendedtechnologies.com <http://www.blendedtechnologies.com>) |