Share via


CContainedWindowT::m_dwMsgMapID

 

Holds the identifier of the message map currently being used for the contained window.

Syntax

DWORD m_dwMsgMapID;

Remarks

This message map must be declared in the containing object.

The default message map, declared with BEGIN_MSG_MAP, is always identified by zero. An alternate message map, declared with ALT_MSG_MAP(msgMapID), is identified by msgMapID.

m_dwMsgMapID is first initialized by the constructor and can be changed by calling SwitchMessageMap. For an example, see the CContainedWindowT Overview.

Requirements

Header: atlwin.h

See Also

CContainedWindowT Class
CContainedWindowT::m_pObject