Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 936 Bytes

adding-tabs-to-a-tab-control.md

File metadata and controls

25 lines (17 loc) · 936 Bytes
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Adding Tabs to a Tab Control
Adding Tabs to a Tab Control
11/04/2016
tab controls [MFC], adding tabs
putting tabs on CTabCtrls [MFC]
CTabCtrl class [MFC], adding tabs
tabs [MFC], adding to CTabCtrl class [MFC]
7f3d9340-e3c7-4c71-9912-be57534ecc78

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

Using CTabCtrl
Controls