Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
win32gui
>
RegisterHotKey
win32gui
.RegisterHotKey
RegisterHotKey(
hWnd
, id
, Modifiers
, vk
)
Registers a hotkey for a window
Parameters
hWnd
:
PyHANDLE
Handle to window that will receive WM_HOTKEY messages
id
: int
Unique id to be used for the hot key
Modifiers
: int
Control keys, combination of win32con.MOD_*
vk
: int
Virtual key code
Win32 API References
Search for
RegisterHotKey
at
msdn
,
google
or
google groups
.