From: <gre...@gm...> - 2005-08-31 03:51:14
|
The self.Raise() method brings my app on top of some windows but not on top= =20 of others.=20 I'm seeing, it goes above Outlook and a dos window, but does not go on top of IE, Firefox, or Textpad. Since I want to be copying information from the browser I definately want i= t=20 to work with Firefox. Any other ideas? Greg On 8/29/05, Gregory Pi=F1ero <gre...@gm...> wrote: >=20 > Thanks Alex.=20 >=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 integrat= e=20 > my app into Firefox as an extension but then I'd have to learn a whole ne= w=20 > set of skills! >=20 > -Greg >=20 >=20 > 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 > >=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 -= =20 > > nasty flicker if they overlap and I suspect some tricky cases possible > > with interaction between the main window, any dialog and the child 0 bu= t > > 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:=20 > > 26/08/2005 > >=20 > >=20 >=20 >=20 > --=20 > Gregory Pi=F1ero > Chief Innovation Officer > Blended Technologies > (www.blendedtechnologies.com <http://www.blendedtechnologies.com>)=20 >=20 --=20 Gregory Pi=F1ero Chief Innovation Officer Blended Technologies (www.blendedtechnologies.com <http://www.blendedtechnologies.com>) |