void SwitchMessageMap( DWORD dwMsgMapID );
Parameters
dwMsgMapID
[in] The message map identifier. To use the default message map declared with BEGIN_MSG_MAP, pass 0. To use an alternate message map declared with ALT_MSG_MAP(msgMapID), pass msgMapID.
Remarks
Changes which message map will be used to process the contained window’s messages. The message map must be defined in the containing object.
You initially specify the message map identifier in the constructor.
CContainedWindow Overview | Class Members
See Also
CContainedWindow::CContainedWindow, CContainedWindow::m_dwMsgMapID