IMvcMsgHandler Class

class IMvcMsgHandler

Interface that supports message handling. Classes that support this interface can route and process Windows messages. Basically, this is an interface to a small subset of CCmdTarget. Classes derived from CCmdTarget can easily support this interface.

Defined in: MvcMsgHandler.h

Class Members

virtual BOOL OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult)

A windows message is being delegated to this component for handling

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

The command message is being delegated to this component for handling