网站首页  词典首页

请输入您要查询的函数:

 

术语 showcursor
释义 ShowCursor
语法:
int ShowCursor( BOOL bShow
);
ShowCursor函数
该ShowCursor函数显示或隐藏光标。
参数
bShow
[in]指定是否内部显示计数器的递增或递减。如果bShow为TRUE,显示计数递增1。如果bShow为FALSE,显示计数减1。
返回值
返回值指定了新的显示计数器。
备注
该函数设置了内部显示计数器,确定是否应显示光标。光标显示,只有显示计数大于或等于0。如果鼠标安装,初始显示计数为0。如果没有安装鼠标,显示数为-1。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为Unicode版本。
参见
游标概述,ClipCursor,GetCursorPos,SetCursor,SetCursorPos
==英文原文==ShowCursor Function
The ShowCursor function displays or hides the cursor.
Syntax
int ShowCursor( BOOL bShow
);
Parameters
bShow
[in] Specifies whether the internal display counter is to be incremented or decremented. If bShow is TRUE, the display count is incremented by one. If bShow is FALSE, the display count is decremented by one.
Return Value
The return value specifies the new display counter.
Remarks
This function sets an internal display counter that determines whether the cursor should be displayed. The cursor is displayed only if the display count is greater than or equal to 0. If a mouse is installed, the initial display count is 0. If no mouse is installed, the display count is –1.
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
Cursors Overview , ClipCursor , GetCursorPos , SetCursor , SetCursorPos
==原始网址==http://msdn.microsoft.com/en-us/library/ms648396(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:28:49