Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deprecated. Instructs the control site to process the keystroke described in pMsg and modified by the flags in grfModifiers.
Syntax
HRESULT OnTranslateAccelerator(
MSG *pMsg,
DWORD grfModifiers
);
Parameters
pMsg
Type: MSG*
A pointer to an MSG structure that describes the keystroke to be processed.
grfModifiers
Type: DWORD
Flags describing the state of the CTRL, ALT, and SHIFT keys. The value of the flags can be any valid KEYMODIFIERS enumeration value or values.
Return value
Type: HRESULT
Returns S_OK if the container processed the message, S_FALSE if the container did not process the message, or E_NOTIMPL if the container does not implement accelerator support.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | shdeprecated.h |