您的位置:首页 > 其它

如何从光标位置”得到窗口句柄? (转)

2008-03-18 11:12 267 查看
//The GetCursorPos function retrieves the cursor's position, in screen coordinates.

BOOL GetCursorPos(
LPPOINT lpPoint
);

/****
The WindowFromPoint function retrieves a handle to the window that contains the specified point.
***/

HWND WindowFromPoint(
POINT Point
);
转自/article/5715200.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: