术语 | hidecaret |
释义 | HideCaret 语法: BOOL HideCaret( HWND hWnd ); HideCaret功能 该HideCaret函数删除从屏幕上插入。一个插入隐藏不破坏其目前的形状或无效的插入点。 参数 hWnd [in]的窗口句柄拥有插入符。如果该参数为NULL,HideCaret搜索的窗口拥有插入当前任务。 返回值 如果函数成功,返回值为非零。 如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。 备注 HideCaret隐藏插入仅当指定的窗口拥有插入符。如果指定的窗口没有自己的插入,HideCaret不执行任何操作并返回FALSE。 隐藏是累积的。如果您的应用程序调用HideCaret连续5次,但也必须ShowCaret调用插入前5倍的显示。 举例说,一看到隐藏光标。 功能信息 最低DLL版本 user32.dll 在Winuser.h中HeaderDeclared,头文件:winuser.h import libraryUser32.lib 最低操作系统Windows 95,Windows NT 3.1 参见 插入号概况,CreateCaret,DestroyCaret,GetCaretPos,SetCaretPos,ShowCaret ==英文原文==HideCaret Function The HideCaret function removes the caret from the screen. Hiding a caret does not destroy its current shape or invalidate the insertion point. Syntax BOOL HideCaret( HWND hWnd ); Parameters hWnd [in] Handle to the window that owns the caret. If this parameter is NULL, HideCaret searches the current task for the window that owns 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 HideCaret hides the caret only if the specified window owns the caret. If the specified window does not own the caret, HideCaret does nothing and returns FALSE. Hiding is cumulative. If your application calls HideCaret five times in a row, it must also call ShowCaret five times before the caret is displayed. For an example, see Hiding a 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 See Also Carets Overview , CreateCaret , DestroyCaret , GetCaretPos , SetCaretPos , ShowCaret ==原始网址==http://msdn.microsoft.com/en-us/library/ms648403(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。