MvcController::OnWndMsg

BOOLMvcController::OnWndMsg(UINTmessage, WPARAMwParam, LPARAMlParam, LRESULT*pResult)

Attempt to handle a window message.

Defined in: MvcController.cpp

Return Value

TRUE if message was handled, otherwise FALSE.

Parameters

message

The windows message being handled

wParam

Specifies additional message-dependent information.

lParam

Specifies additional message-dependent information.

pResult

The return value

Comments

This is a virtual method that can be overridden in subclasses. The default implementation handles mouse messages, command messages, and set cursor messages. If the message is one of these types, the CWnd::OnWndMsg() is invoked via the SECWndPlugIn class. If the message is in the message map, it gets handled. Otherwise, this function returns FALSE.