精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>编程开发>>● Delphi>>Windows API函数>>消息处理>>Re:API函数中sendmessage的第二个参数

主题:Re:API函数中sendmessage的第二个参数
发信人: kingron(金龍)
整理人: teleme(2001-07-30 17:40:14), 站内信件
啊,这个问题我以前也碰到过,不过自己解决了:
var
 pos:word;
begin
 wordrec(pos).lo:=button2.left+2;
 wordrec(pos).hi:=button2.top+2;
 sendmessage(button2.handle,wm_lbuttondown,mk_lbutton,pos);
end;

【 在 intrain 的大作中提到:】
:当我要发送鼠标信息时,第一个参数是WM_LBUTTONDOWN,第二个参数是位置
:
:应该怎么写,请教
:......
 


----
██████
█┏━━┓█
█┃之金┃█   去Delphi版看看
█┃印龍┃█
█┗━━┛█
██████

[关闭][返回]