共用方式為


CDHtmlDialog::TranslateAccelerator

Called to process menu accelerator-key messages.

STDMETHOD(TranslateAccelerator)( 
   LPMSG lpMsg, 
   const GUID * pguidCmdGroup, 
   DWORD nCmdID  
);

Parameters

  • lpMsg
    See lpMsg in IDocHostUIHandler::TranslateAccelerator in the Windows SDK.

  • pguidCmdGroup
    See pguidCmdGroup in IDocHostUIHandler::TranslateAccelerator in the Windows SDK.

  • nCmdID
    See nCmdID in IDocHostUIHandler::TranslateAccelerator in the Windows SDK.

Return Value

Returns S_FALSE.

Remarks

This member function is CDHtmlDialog's implementation of IDocHostUIHandler::TranslateAccelerator, as described in the Windows SDK.

Requirements

Header: afxdhtml.h

See Also

Reference

CDHtmlDialog Class

Hierarchy Chart

IDocHostUIhandler Interface