CMDIFrameWndEx::OnCmdMsg
Visual Studio 2012
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 );