网站首页  词典首页

请输入您要查询的函数:

 

术语 getcaretpos
释义 GetCaretPos
语法:
BOOL GetCaretPos( LPPOINT lpPoint
);
GetCaretPos功能
该GetCaretPos函数复制插入的立场,指定点的结构。
参数
lpPoint
[out]指向的联网结构,接收端坐标插入。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
插入符号位置总是在客户端给定坐标的窗口中包含插入符。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为Unicode版本。
参见
插入号概况,SetCaretPos,点
==英文原文==GetCaretPos Function
The GetCaretPos function copies the caret's position to the specified POINT structure.
Syntax
BOOL GetCaretPos( LPPOINT lpPoint
);
Parameters
lpPoint
[out] Pointer to the POINT structure that is to receive the client coordinates of the caret.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Remarks
The caret position is always given in the client coordinates of the window that contains the caret.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as Unicode version.
See Also
Carets Overview , SetCaretPos , POINT
==原始网址==http://msdn.microsoft.com/en-us/library/ms648402(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:22:35