IShellBrowser::TranslateAcceleratorSB method

Translates accelerator keystrokes intended for the browser's frame while the view is active.

Syntax

HRESULT TranslateAcceleratorSB(
  MSG  *pmsg,
  WORD wID
);

Parameters

pmsg

Type: LPMSG

The address of an MSG structure containing the keystroke message.

wID

Type: WORD

The command identifier value corresponding to the keystroke in the container-provided accelerator table. Containers should use this value instead of translating again.

Return Value

Type: HRESULT

Returns S_OK if successful, or a COM-defined error value otherwise.

Remarks

This method is similar to the IOleInPlaceFrame::TranslateAccelerator method.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll (version 4.0 or later)

See Also

IShellBrowser