Adding Tabs to a Tab Control

After creating the tab control (CTabCtrl), add as many tabs as you need.

To add a tab item

  1. Prepare a TCITEM structure.

  2. Call CTabCtrl::InsertItem, passing the structure.

  3. Repeat steps 1 and 2 for additional tab items.

For more information, see Creating a Tab Control in the Windows SDK.

See Also

Concepts

Using CTabCtrl

Controls (MFC)