[python-win32] findwindow by its class name

Gabriel Genellina gagenellina at softlab.com.ar
Sat Oct 22 02:18:43 CEST 2005


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) including its own HWND; Application B handles it and 
replies to A with its own HWND.  After that, both apps know the other's 
HWND and can post messages.



Gabriel Genellina
Softlab SRL 



More information about the Python-win32 mailing list