INameSpaceTreeControlEvents::OnKeyboardInput method (shobjidl.h)

Called when the user presses a key on the keyboard.

Syntax

HRESULT OnKeyboardInput(
  [in] UINT   uMsg,
  [in] WPARAM wParam,
  [in] LPARAM lParam
);

Parameters

[in] uMsg

Type: UINT

The message value.

[in] wParam

Type: WPARAM

Specifies the WParam parameters of the message.

[in] lParam

Type: LPARAM

Specifies the LParam parameters of the message.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method receives its message directly from WndProc. When this returns S_OK, the message was not consumed and the namespace tree control is allowed to process the message. Otherwise this message was handled, with no further action required.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl.h

See also

INameSpaceTreeControlEvents

IShellItem