[python-win32] 回复: 回复: The program passes on Win7 but fails on Win8

Tim Roberts timr at probo.com
Fri Jan 4 19:00:33 CET 2013


震坤 蔡 wrote:
> I have changed the third parameter, but it still did not work on Win8.
>
> ...
>         win32gui.SendMessage(win32gui.GetParent(hButton),
> win32con.WM_COMMAND, (win32con.BN_CLICKED << 16) |
> win32gui.GetDlgCtrlID(hButton), hButton)
> ...
> Output:
> abc
> 131870
> 131888

I don't know.  It looks OK to me.  Have you tried this from a C program
to see if the results are any different?

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



More information about the python-win32 mailing list