| description | Learn more about: Adding Tabs to a Tab Control | ||||
|---|---|---|---|---|---|
| title | Adding Tabs to a Tab Control | ||||
| ms.date | 11/04/2016 | ||||
| helpviewer_keywords |
|
||||
| ms.assetid | 7f3d9340-e3c7-4c71-9912-be57534ecc78 |
After creating the tab control (CTabCtrl), add as many tabs as you need.
-
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.