Methods
| CContainedWindow | Constructor. Initializes data members to specify which message map will process the contained window’s messages. |
| Create | Creates a window. |
| DefWindowProc | Provides default message processing. |
| GetCurrentMessage | Returns the current message. |
| RegisterWndSuperclass | Registers the window class of the contained window. |
| SubclassWindow | Subclasses a window. |
| SwitchMessageMap | Changes which message map is used to process the contained window’s messages. |
| UnsubclassWindow | Restores a previously subclassed window. |
| WindowProc | Processes messages sent to the contained window. |
Data Members
| m_dwMsgMapID | Identifies which message map will process the contained window’s messages. |
| m_lpszClassName | Specifies the name of an existing window class on which a new window class will be based. |
| m_pfnSuperWindowProc | Points to the window class’s original window procedure. |
| m_pObject | Points to the containing object. |