CFrameWndEx::OnCmdMsg

Dispatches command messages.

virtual BOOL OnCmdMsg(
   UINT nID,
   int nCode,
   void* pExtra,
   AFX_CMDHANDLERINFO* pHandlerInfo
);

Parameters

  • [in] nID
    The command ID.

  • [in] nCode
    Command message category.

  • [in, out] pExtra
    Pointer to a command object.

  • [in, out] pHandlerInfo
    Pointer to a command handler structure.

Return Value

TRUE if the command message was handled; otherwise, FALSE.

Requirements

Header: afxframewndex.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CFrameWndEx Class