virtual CWnd* AttachWnd(CWnd* pWnd, LPCTSTR szLabel);
pWnd
A pointer to the window to be attached to this tab window.
szLabel
A pointer to a string used as the name in the tab for this window.
A pointer to the same as the passed window.
Call this functin to add a new window to this tab window. There are two methods to add a new window to the tab window. The easiest method is to call CreateView of this class, the other is use this method. This message allows you to add a new tab window in two steps, i.e. first create the window and do some setting and then add the window to this tab window.
Class Overview | Class Members