震坤 蔡 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, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32