INameSpaceTreeControlEvents::OnKeyboardInput method

Called when the user presses a key on the keyboard.

Syntax


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

Parameters

uMsg [in]

Type: UINT

The message value.

wParam [in]

Type: WPARAM

Specifies the WParam parameters of the message.

lParam [in]

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

INameSpaceTreeControlEvents
IShellItem

 

 

Show: