没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
ContentsContents
Keyboard and Mouse Input
Commctrl.h
Overview
_TrackMouseEvent function
Winuser.h
Overview
ActivateKeyboardLayout function
BlockInput function
DefRawInputProc function
DragDetect function
EnableWindow function
GET_APPCOMMAND_LPARAM macro
GET_DEVICE_LPARAM macro
GET_FLAGS_LPARAM macro
GET_KEYSTATE_LPARAM macro
GET_KEYSTATE_WPARAM macro
GET_NCHITTEST_WPARAM macro
GET_RAWINPUT_CODE_WPARAM macro
GET_WHEEL_DELTA_WPARAM macro
GET_XBUTTON_WPARAM macro
GetActiveWindow function
GetAsyncKeyState function
GetCapture function
GetDoubleClickTime function
GetFocus function
GetKBCodePage function
GetKeyboardLayout function
GetKeyboardLayoutList function
GetKeyboardLayoutNameA function
GetKeyboardLayoutNameW function
GetKeyboardState function
GetKeyboardType function
GetKeyNameTextA function
GetKeyNameTextW function
GetKeyState function
GetLastInputInfo function
GetMouseMovePointsEx function
GetRawInputBuffer function
GetRawInputData function
GetRawInputDeviceInfoA function
GetRawInputDeviceInfoW function
GetRawInputDeviceList function
GetRegisteredRawInputDevices function
HARDWAREINPUT structure
INPUT structure
IsWindowEnabled function
keybd_event function
KEYBDINPUT structure
LASTINPUTINFO structure
LoadKeyboardLayoutA function
LoadKeyboardLayoutW function
MapVirtualKeyA function
MapVirtualKeyExA function
MapVirtualKeyExW function
MapVirtualKeyW function
mouse_event function
MOUSEINPUT structure
MOUSEMOVEPOINT structure
NEXTRAWINPUTBLOCK macro
OemKeyScan function
RAWHID structure
RAWINPUT structure
RAWINPUTDEVICE structure
RAWINPUTDEVICELIST structure
RAWINPUTHEADER structure
RAWKEYBOARD structure
RAWMOUSE structure
RegisterHotKey function
RegisterRawInputDevices function
ReleaseCapture function
RID_DEVICE_INFO structure
RID_DEVICE_INFO_HID structure
RID_DEVICE_INFO_KEYBOARD structure
RID_DEVICE_INFO_MOUSE structure
SendInput function
SetActiveWindow function
SetCapture function
SetDoubleClickTime function
SetFocus function
SetKeyboardState function
SwapMouseButton function
ToAscii function
ToAsciiEx function
ToUnicode function
ToUnicodeEx function
TrackMouseEvent function
TRACKMOUSEEVENT structure
UnloadKeyboardLayout function
UnregisterHotKey function
VkKeyScanA function
VkKeyScanExA function
VkKeyScanExW function
VkKeyScanW function
Keyboard and Mouse Input
1/30/2021 • 7 minutes to read • Edit Online
Functions
T IT L ET IT L E DESC RIP T IONDESC RIP T ION
_TrackMouseEvent Posts messages when the mouse pointer leaves a window or
hovers over a window for a specified amount of time. This
function calls TrackMouseEvent if it exists, otherwise it
emulates it.
ActivateKeyboardLayout Sets the input locale identifier (formerly called the keyboard
layout handle) for the calling thread or the current process.
The input locale identifier specifies a locale as well as the
physical layout of the keyboard.
BlockInput Blocks keyboard and mouse input events from reaching
applications.
DefRawInputProc Verifies that the size of the RAWINPUTHEADER structure is
correct.
DragDetect Captures the mouse and tracks its movement until the user
releases the left button, presses the ESC key, or moves the
mouse outside the drag rectangle around the specified
point.
EnableWindow Enables or disables mouse and keyboard input to the
specified window or control. When input is disabled, the
window does not receive input such as mouse clicks and key
presses. When input is enabled, the window receives all
input.
GET_APPCOMMAND_LPARAM Retrieves the application command from the specified
LPARAM value.
GET_DEVICE_LPARAM Retrieves the input device type from the specified LPARAM
value.
GET_FLAGS_LPARAM Retrieves the state of certain virtual keys from the specified
LPARAM value.
GET_KEYSTATE_LPARAM Retrieves the state of certain virtual keys from the specified
LPARAM value.
Overview of the Keyboard and Mouse Input technology.
The Keyboard and Mouse Input technology is not associated with any headers.
For programming guidance for this technology, see:
Keyboard and Mouse Input
GET_KEYSTATE_WPARAM Retrieves the state of certain virtual keys from the specified
WPARAM value.
GET_NCHITTEST_WPARAM Retrieves the hit-test value from the specified WPARAM
value.
GET_RAWINPUT_CODE_WPARAM Retrieves the input code from wParam in WM_INPUT.
GET_WHEEL_DELTA_WPARAM Retrieves the wheel-delta value from the specified WPARAM
value.
GET_XBUTTON_WPARAM Retrieves the state of certain buttons from the specified
WPARAM value.
GetActiveWindow Retrieves the window handle to the active window attached
to the calling thread's message queue.
GetAsyncKeyState Determines whether a key is up or down at the time the
function is called, and whether the key was pressed after a
previous call to GetAsyncKeyState.
GetCapture Retrieves a handle to the window (if any) that has captured
the mouse. Only one window at a time can capture the
mouse; this window receives mouse input whether or not
the cursor is within its borders.
GetDoubleClickTime Retrieves the current double-click time for the mouse.
GetFocus Retrieves the handle to the window that has the keyboard
focus, if the window is attached to the calling thread's
message queue.
GetKBCodePage Retrieves the current code page.
GetKeyboardLayout Retrieves the active input locale identifier (formerly called the
keyboard layout).
GetKeyboardLayoutList Retrieves the input locale identifiers (formerly called
keyboard layout handles) corresponding to the current set
of input locales in the system. The function copies the
identifiers to the specified buffer.
GetKeyboardLayoutNameA Retrieves the name of the active input locale identifier
(formerly called the keyboard layout) for the system.
GetKeyboardLayoutNameW Retrieves the name of the active input locale identifier
(formerly called the keyboard layout) for the system.
GetKeyboardState Copies the status of the 256 virtual keys to the specified
buffer.
GetKeyboardType Retrieves information about the current keyboard.
GetKeyNameTextA Retrieves a string that represents the name of a key.
T IT L ET IT L E DESC RIP T IONDESC RIP T ION
剩余308页未读,继续阅读
资源评论
/小x
- 粉丝: 1
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功