ViewTranslateAccelerator Method |
Translates keyboard shortcut (accelerator) key strokes when a namespace extension's view has the focus.
Namespace:
ShellBoost.Core.WindowsShell
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public int TranslateAccelerator(
IntPtr hwnd,
int message,
IntPtr wParam,
IntPtr lParam,
int time = 0,
POINT? pt = null,
bool throwOnError = true
)
Parameters
- hwnd
- Type: SystemIntPtr
A handle to the window whose window procedure receives the message. - message
- Type: SystemInt32
The message identifier. - wParam
- Type: SystemIntPtr
Additional information about the message. The exact meaning depends on the value of the message member. - lParam
- Type: SystemIntPtr
Additional information about the message. The exact meaning depends on the value of the message member. - time (Optional)
- Type: SystemInt32
The time at which the message was posted. - pt (Optional)
- Type: SystemNullablePOINT
The cursor position, in screen coordinates, when the message was posted. - throwOnError (Optional)
- Type: SystemBoolean
true to throw error; otherwise false.
Return Value
Type:
Int32
An error number or 0.
See Also