网站首页  计算机词典

请输入您要查询的字词:

 

字词 destroycaret
释义 DestroyCaret
语法:
BOOL DestroyCaret(VOID);
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
DestroyCaret destroys the caret only if a window in the current task owns the caret. If a window that is not in the current task owns the caret, DestroyCaret does nothing and returns FALSE.
The system provides one caret per queue. A window should create a caret only when it has the keyboard focus or is active. The window should destroy the caret before losing the keyboard focus or becoming inactive.
For an example, see Destroying 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
UnicodeImplemented as Unicode version.
See Also
Carets Overview , CreateCaret , HideCaret , ShowCaret
DestroyCaret功能
该DestroyCaret功能破坏插入当前的形状,释放从窗口插入符,并删除从屏幕上插入。
==英文原文==DestroyCaret Function
The DestroyCaret function destroys the caret's current shape, frees the caret from the window, and removes the caret from the screen.
Syntax
BOOL DestroyCaret(VOID);
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
DestroyCaret destroys the caret only if a window in the current task owns the caret. If a window that is not in the current task owns the caret, DestroyCaret does nothing and returns FALSE.
The system provides one caret per queue. A window should create a caret only when it has the keyboard focus or is active. The window should destroy the caret before losing the keyboard focus or becoming inactive.
For an example, see Destroying 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
UnicodeImplemented as Unicode version.
See Also
Carets Overview , CreateCaret , HideCaret , ShowCaret
==原始网址==http://msdn.microsoft.com/en-us/library/ms648400(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 20:44:33