首页
社区
课程
招聘
[旧帖] 问题:有窗口句柄,想在这个窗口的某个位子,产生一个鼠标点击事件 0.00雪花
发表于: 2009-11-17 15:48 3267

[旧帖] 问题:有窗口句柄,想在这个窗口的某个位子,产生一个鼠标点击事件 0.00雪花

2009-11-17 15:48
3267
1.窗口必须是在最上层吗
2.要是在最上层,怎么做
3.会不会和实体鼠标事件冲突

[课程]Android-CTF解题方法汇总!

收藏
免费 0
支持
分享
最新回复 (2)
雪    币: 101
活跃值: (157)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
2
SendMessage(hWnd,WM_LBUTTONDOWN,wParam,lParam)

wParam
Indicates whether various virtual keys are down. This parameter can be one or more of the following values.
MK_CONTROL
The CTRL key is down.
MK_LBUTTON
The left mouse button is down.
MK_MBUTTON
The middle mouse button is down.
MK_RBUTTON
The right mouse button is down.
MK_SHIFT
The SHIFT key is down.
MK_XBUTTON1
Windows 2000/XP: The first X button is down.
MK_XBUTTON2
Windows 2000/XP: The second X button is down.
lParam
The low-order word specifies the x-coordinate of the cursor. The coordinate is relative to the upper-left corner of the client area.

The high-order word specifies the y-coordinate of the cursor. The coordinate is relative to the upper-left corner of the client area.
2009-11-17 18:28
0
雪    币: 83
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
很详细,学习
2009-11-18 07:49
0
游客
登录 | 注册 方可回帖
返回
//