Adding controls to a CTabCtrl
C / C++ / MFC
2
Posts
2
Posters
10
Views
1
Watching
-
How do you add controls to a CTabCtrl at runtime? Can you use dialogs like CPropertySheet? I've searched MSDN from front to back on this, and can't find anything. Thanks, Frank
A tab-control is not like a property sheet in that you cannot add dialogs or child controls. Instead, the tab control only notifies you when events (such as the user clicking a tab) occur. It is your responsibility to show or hide controls for each tab as it is selected / deselected. Cheers! ================== The original message was: How do you add controls to a CTabCtrl at runtime?
Can you use dialogs like CPropertySheet?
I've searched MSDN from front to back on this, and can't find anything.
Thanks,
Frank