From: <gre...@gm...> - 2005-08-29 16:59:41
|
Hey guys, I heard that wxPython had a thing called wxSTAY_ON_TOP that would let me always keep my application in the foreground. Do you know how I would use such a thing in PythonCard? Any help would be much appriciated. Thanks --=20 Gregory Pi=F1ero Chief Innovation Officer Blended Technologies (www.blendedtechnologies.com) |
From: Kevin A. <al...@se...> - 2005-08-29 17:36:24
|
On Aug 29, 2005, at 9:59 AM, Gregory Pi=F1ero wrote: > Hey guys, > > I heard that wxPython had a thing called wxSTAY_ON_TOP that would let > me always keep my application in the foreground. Do you know how I > would use such a thing in PythonCard? > > Any help would be much appriciated. > > Thanks > > --=20 > Gregory Pi=F1ero > Chief Innovation Officer > Blended Technologies > (www.blendedtechnologies.com) > I think that flag, which is passed as one of the style flags during=20 wx.Frame init just keeps that frame always in front of other frames for=20= the application and has no impact on other applications. ka |
From: <gre...@gm...> - 2005-08-29 18:25:27
|
Do you know of any way to keep it in front of all other applications? Greg On 8/29/05, Kevin Altis <al...@se...> wrote: >=20 > On Aug 29, 2005, at 9:59 AM, Gregory Pi=F1ero wrote: >=20 > > Hey guys, > > > > I heard that wxPython had a thing called wxSTAY_ON_TOP that would let > > me always keep my application in the foreground. Do you know how I > > would use such a thing in PythonCard? > > > > Any help would be much appriciated. > > > > Thanks > > > > -- > > Gregory Pi=F1ero > > Chief Innovation Officer > > Blended Technologies > > (www.blendedtechnologies.com <http://www.blendedtechnologies.com> ) > > >=20 > I think that flag, which is passed as one of the style flags during > wx.Frame init just keeps that frame always in front of other frames for > the application and has no impact on other applications. >=20 > ka >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle=20 > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q= A > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf= =20 > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li...=20 > https://lists.sourceforge.net/lists/listinfo/pythoncard-users=20 >=20 --=20 Gregory Pi=F1ero Chief Innovation Officer Blended Technologies (www.blendedtechnologies.com <http://www.blendedtechnologies.com>) |
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 |
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>) |
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>) |