共用方式為


CComControlBase::PreTranslateAccelerator

Override this method to provide your own keyboard accelerator handlers.

BOOL PreTranslateAccelerator(
   LPMSG /* pMsg */,
   HRESULT& /* hRet */
);

Parameters

  • pMsg
    Reserved.

  • hRet
    Reserved.

Return Value

By default returns FALSE.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class

Other Resources

CComControlBase Members