[python-win32] win32gui and PyHANDLE

Tim Roberts timr at probo.com
Tue Aug 24 01:34:11 CEST 2010


 Alexandru Ionescu wrote:
> Thank you very much for your answer. I replaced all the hex values
> with dec values. Now I don't get any error about the handles but I get
> another error:
> error:(317,'UpdateLayeredWindow','The system cannot find message text
> for message number 0x%1 in the message fie for %2.')
> Please, can you tell me how to properly use the UpdateLayeredWindow?

I did a little experimentation but could not get this to work.  I
noticed that you were doing this in __init__, which happens before the
window is displayed, but when I tried using CallAfter to have this
happen after the window is displayed, it still didn't work.

Did you copy this from a C example somewhere?  Can you tell me where? 
Perhaps I can translate it.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list