Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CMDIFrameWndEx::OnCmdMsg

Called by the framework to route and dispatch command messages and to update command user-interface objects.

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

The command ID.

[in] nCode

Identifies the command notification code. See CCmdTarget::OnCmdMsg for more information about values for nCode.

[in] pExtra

Used according to the value of nCode. See CCmdTarget::OnCmdMsg for more information about pExtra.

[in, out] pHandlerInfo

Typically, this parameter should be NULL.If not NULL, OnCmdMsg fills in the pTarget and pmf members of the pHandlerInfo structure instead of dispatching the command.

Nonzero if the message is handled; otherwise 0.

Header: afxmdiframewndex.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.