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

14 lines
1.1 KiB
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>该函数使插入标记在屏幕的当前位置上可见。当插入标记变为可见时,它自动开始闪烁。<br>
<h3>函数原型</h3>BOOL ShowCaretHWND hWnd<br>
<h3>参数</h3>
hWnd标识拥有插入标记的窗口。如果该参数为NULL那么ShowCaret搜索当前任务以发现有插入标记的窗口。<br>
<h3>返回值</h3>如果函数执行成功那么返回值为非零如果函数执行失败那么返回值为零。若想获取更多错误信息请调用GetLastError函数。<br>
备注只有指定的窗口拥有插入标记并且该插入标记具有形状没有连续隐藏2次或多次时ShowCaret才能显示该插入标记。如果这几个条件中的一个或多个没满足那么ShowCaret函数什么也不做并且返回FALSE。<br>
<h3>速查</h3>Windows NT3.1及以上版本Windows95及以上版本Windows CE1.0及以版本头文件winuser.h库文件user32.lib。<br>
</body>
</html>