This topic has not yet been rated - Rate this topic

IPreviewHandlerFrame::TranslateAccelerator method

Directs the host to handle an keyboard shortcut passed from the preview handler.

Syntax


HRESULT TranslateAccelerator(
  [in]  MSG *pmsg
);

Parameters

pmsg [in]

Type: MSG*

A pointer to a WM_COMMAND or WM_SYSCOMMAND window message that corresponds to a keyboard shortcut.

Return value

Type: HRESULT

If the keyboard shortcut is one that the host intends to handle, the host will process it and return S_OK; otherwise, it returns S_FALSE.

Remarks

Note  This method is only called by a preview handler in response to an TranslateAccelerator call.

Requirements

Minimum supported client

Windows Vista, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Redistributable

Windows Search 4 or later

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.