路 路远 Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-08 #1 SendMessage(Button1.Handle, WM_LBUTTONDOWN,0, 0);不管用,我用它发送鼠标左健事件,看着Button1动了一下,焦点也移动到Button1上就是不执行Button1的Click事件(21分)<br />如题
SendMessage(Button1.Handle, WM_LBUTTONDOWN,0, 0);不管用,我用它发送鼠标左健事件,看着Button1动了一下,焦点也移动到Button1上就是不执行Button1的Click事件(21分)<br />如题
W wolaixue Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-08 #3 SendMessage(Button1.Handle, WM_LBUTTONDOWN,0, 0);<br>SendMessage(Button1.Handle, WM_LBUTTONUP,0, 0);
独 独帅 Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-08 #4 SendMessage(Button1.Handle, BM_CLICK, 0, 0);<br>
路 路远 Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-08 #6 多谢几位,我用SendMessage(Button1.Handle, WM_LBUTTONDOWN,0, 0);<br>SendMessage(Button1.Handle, WM_LBUTTONUP,0, 0);或都是<br>SendMessage(Button1.Handle, BM_CLICK, 0, 0);按两下才成功。我加了双份SendMessage(Button1.Handle, BM_CLICK, 0, 0);<br>。多谢多谢。
多谢几位,我用SendMessage(Button1.Handle, WM_LBUTTONDOWN,0, 0);<br>SendMessage(Button1.Handle, WM_LBUTTONUP,0, 0);或都是<br>SendMessage(Button1.Handle, BM_CLICK, 0, 0);按两下才成功。我加了双份SendMessage(Button1.Handle, BM_CLICK, 0, 0);<br>。多谢多谢。