Why this code cannot change caption of "Start" button?

Matthew Turk m-turk at nwu.edu
Tue Jul 31 13:12:37 EDT 2001


* Steve S.L. Wong <sailwong at alumni.cuhk.edu.hk>:
>  hwnd = win32gui.FindWindowEx(win32gui.FindWindow('Shell_TrayWnd',None),0,
>                                 "Button",None)
>  
>  Any body knows why the above code does not work?
>  

Maybe it's my build, but I have to replace that '0' with a None, and I
also have to use win32ui and not win32gui.

However, even after I do that, I get that "No window can be found."
Any ideas?



mjt
--------------------------------------------------
Matthew J. Turk <m-turk at nwu.edu>      ICQ: 3856787
"Music is the Best." - FZ       www.dailyvault.com



More information about the Python-list mailing list