AcceleratorKeyPressed
PowerScript event
Description
Occurs when an accelerator key or key combination is pressed or
released while the WebBrowser control gets the focus. A key is considered
as an accelerator key if it meets any of the following conditions:
-
The Ctrl key or Alt key is being pressed on.
-
The pressed key is not mapped to a character.
Only a few keys are never considered as accelerators, such as the
Shift key, but the Escape key is always considered as an
accelerator.
Syntax
|
1 |
AcceleratorKeyPressed (integer kind, integer virtualKey, integer lParam) |
Event ID
|
Event ID |
Objects |
|---|---|
|
None |
WebBrowser controls |
Arguments
|
Argument |
Description |
|---|---|
|
Kind |
The type of key event that triggers this event. The 0 — WM_KEYDOWN in Window 1 — WM_KEYUP in Window message 2 3 — WM_SYSKEYUP in |
|
VirtualKey |
The virtual key that is pressed or |
|
lParam |
The parameter of the key. |
Return Values
None
See also