CMessageMap::ProcessWindowMessage

virtual BOOL ProcessWindowMessage( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT& lResult, DWORD dwMsgMapID ) = 0;

Return Value

TRUE if the message is fully handled; otherwise, FALSE.

Parameters

hWnd

[in] The handle to the window receiving the message.

uMsg

[in] The message sent to the window.

wParam

[in] Additional message-specific information.

lParam

[in] Additional message-specific information.

lResult

[out] The result of the message processing.

dwMsgMapID

[in] The identifier of the message map that will process the message. The default message map, declared with BEGIN_MSG_MAP, is identified by 0. An alternate message map, declared with ALT_MSG_MAP(msgMapID), is identified by msgMapID.

Remarks

Accesses the message map identified by dwMsgMapID in a CMessageMap-derived class. Called by the window procedure of a CContainedWindow object or of an object that is dynamically chaining to the message map.

CMessageMap OverviewClass Members

See Also   CHAIN_MSG_MAP_DYNAMIC