Files
uTools-Manuals/src/docs/win32api/SetCursorPos.html
2020-06-06 20:39:00 +08:00

15 lines
939 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html>
<body>
<FONT style="FONT: 12px 宋体" color=black>
<h3>函数功能</h3>该函数把光标移到屏幕的指定位置。如果新位置不在由 ClipCursor函数设置的屏幕矩形区域之内则系统自动调整坐标使得光标在矩形之内。<br>
<h3>函数原型</h3>BOOL SetCursorPOSint Xint Y<br>
<h3>参数</h3>
X指定光标的新的X坐标以屏幕坐标表示。<br>
Y指定光标的新的Y坐标以屏幕坐标表示。<br>
<h3>返回值</h3>如果成功返回非零值如果失败返回值是零若想获得更多错误信息请调用GetLastError函数。<br>
备注:该光标是共享资源,仅当该光标在一个窗口的客户区域内时它才能移动该光标。<br>
<h3>速查</h3>Windows NT3.1及以上版本Windows95及以上版本Windows CE不支持头文件winuser.h库文件user32.lib。<br>
</body>
</html>