网站首页  词典首页

请输入您要查询的函数:

 

术语 swapmousebutton
释义 SwapMouseButton
语法:
BOOL SwapMouseButton( BOOL fSwap
);
SwapMouseButton功能
该SwapMouseButton函数反转或恢复的左,右鼠标按钮的含义。
参数
fSwap
[in]是否鼠标按钮的含义是颠倒或恢复指定。如果此参数为TRUE,左边的按钮生成右按钮的信息和正确的按钮生成左键消息。如果此参数为FALSE,按钮会恢复到原来的意义。
返回值
如果鼠标按钮的含义是扭转以前,在调用函数,返回值为非零值。
如果鼠标按钮的含义是不扭转,返回值是零。
备注
巴顿是作为交换,以人谁使用用左手鼠标方便。该SwapMouseButton函数通常要求的控制面板只。虽然是免费的应用程序调用该函数,鼠标是一个共享资源,扭转它的按钮的含义会影响所有的应用程序。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为Unicode版本。
参见
鼠标输入,SetDoubleClickTime
==英文原文==SwapMouseButton Function
The SwapMouseButton function reverses or restores the meaning of the left and right mouse buttons.
Syntax
BOOL SwapMouseButton( BOOL fSwap
);
Parameters
fSwap
[in] Specifies whether the mouse button meanings are reversed or restored. If this parameter is TRUE, the left button generates right-button messages and the right button generates left-button messages. If this parameter is FALSE, the buttons are restored to their original meanings.
Return Value
If the meaning of the mouse buttons was reversed previously, before the function was called, the return value is nonzero.
If the meaning of the mouse buttons was not reversed, the return value is zero.
Remarks
Button swapping is provided as a convenience to people who use the mouse with their left hands. The SwapMouseButton function is usually called by Control Panel only. Although an application is free to call the function, the mouse is a shared resource and reversing the meaning of its buttons affects all applications.
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
Mouse Input , SetDoubleClickTime
==原始网址==http://msdn.microsoft.com/en-us/library/ms646264(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 13:25:59