Adding Tabs to a Tab Control
After creating the tab control (CTabCtrl), add as many tabs as you need.
To add a tab item
Prepare a TCITEM structure.
Call CTabCtrl::InsertItem, passing the structure.
Repeat steps 1 and 2 for additional tab items.
For more information, see Creating a Tab Control in the Windows SDK.