MvcController::OnCmdMsg

BOOLMvcController::OnCmdMsg(UINTnID, intnCode, void*pExtra, AFX_CMDHANDLERINFO*pHandlerInfo)

Attempt to handle a command message.

Defined in: MvcController.cpp

Return Value

TRUE if message was handled, otherwise FALSE.

Parameters

nID

Contains the command ID.

nCode

Identifies the command notification code.

pExtra

Used according to the value of nCode.

pHandlerInfo

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