Click or drag to resize

ViewTranslateAccelerator Method

Translates keyboard shortcut (accelerator) key strokes when a namespace extension's view has the focus.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
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