Title: Re: [python-win32] findwindow by its class name
If all
else fails, you could create a win32gui based hidden window with a
classname of your choice. pywin32's win32gui_taskbar.py does exactly
this. You would probably need to create this window in its own thread
running a win
Title: Re: [python-win32] findwindow by its class name
Thanks,
Actually, app A is a commercial
engine, which written by VC++, but we can't change it at all.
app B is our application, which written by
wxPython, If we can't find a way to get the
classname of app B, it's n
At Friday 21/10/2005 16:26, you wrote:
>Thanks a lot! Yes, GetHandle() can return 'wxWindowClassNR', which is
>nice,
>but all wxPython apps return wxWindowClassNR as well, so when I Post
>Message, it goes to itself.
Application A can broadcast a private known message (using
RegisterWindowMessage
nt: Friday, October 21, 2005 2:28 PM
To: Steve Holden
Cc: python-list@python.org; python-win32@python.org
Subject: Re: [python-win32] findwindow by its class name
On 10/21/05, Steve Holden <[EMAIL PROTECTED]> wrote:
> > Is there any way to know this windows' class name? I need to
On 10/21/05, Steve Holden <[EMAIL PROTECTED]> wrote:
> > Is there any way to know this windows' class name? I need to find it by
[...]
> I'm not saying it can'ty be done (which is a pity for you, because
> that's usually a cue for someone to contradict me) but it's expecting
> quite a lot of win32g
James Hu wrote:
> Hi,
>
> For the simple code:
>
> from wxPython.wx import *
>
> class MyApp(wxApp):
> def OnInit(self):
> frame = wxFrame(NULL, -1, "Hello App")
> frame.Show(true)
> self.SetTopWindow(frame)
> return true
>
> app = MyApp(0)
> app.MainLoop()
Hi,
For the simple code:
from wxPython.wx import *
class MyApp(wxApp):
def OnInit(self):
frame = wxFrame(NULL, -1, "Hello App")
frame.Show(true)
self.SetTopWindow(frame)
return true
app = MyApp(0)
app.MainLoop()
Is there any way to know this windows' class