Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 936 Bytes

File metadata and controls

25 lines (17 loc) · 936 Bytes
description Learn more about: Adding Tabs to a Tab Control
title Adding Tabs to a Tab Control
ms.date 11/04/2016
helpviewer_keywords
tab controls [MFC], adding tabs
putting tabs on CTabCtrls [MFC]
CTabCtrl class [MFC], adding tabs
tabs [MFC], adding to CTabCtrl class [MFC]
ms.assetid 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