Compartilhar via


COccManager::IsMatchingMnemonic

Call this function to determine if the current mnemonic matches that represented by the control.

static BOOL AFX_CDECL IsMatchingMnemonic(
   CWnd* pWnd,
   LPMSG lpMsg 
);
static BOOL AFX_CDECL IsMatchingMnemonic( 
COleControlSiteOrWnd* pWnd, 
   LPMSG lpMsg 
);

Parameters

  • pWnd
    A pointer to the window containing the control.

  • lpMsg
    A pointer to the message containing the mnemonic to match.

Return Value

Nonzero if the mnemonic matches the control; otherwise zero

Requirements

Header: afxocc.h

See Also

Reference

COccManager Class

Hierarchy Chart

Other Resources

COccManager Members