CContainedWindow::m_dwMsgMapID

DWORD m_dwMsgMapID;

Remarks

Holds the identifier of the message map currently being used for the contained window. This message map must be declared in the containing object.

The default message map, declared with BEGIN_MSG_MAP, is always identified by 0. 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 CContainedWindow overview.

CContainedWindow OverviewClass Members

See Also

CContainedWindow::m_pObject