Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 2.21 KB

property-sheets-and-property-pages-mfc.md

File metadata and controls

25 lines (19 loc) · 2.21 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Property Sheets and Property Pages (MFC)
Property Sheets and Property Pages (MFC)
11/04/2016
MFC dialog boxes [MFC], tabs
property pages [MFC], property sheets
CPropertyPage class [MFC], property sheets and pages
CPropertySheet class [MFC], property sheets and pages
property sheets, propert pages
de8fea12-6c35-4cef-8625-b8073a379446

Property Sheets and Property Pages (MFC)

An MFC dialog box can take on a "tab dialog" look by incorporating property sheets and property pages. Called a "property sheet" in MFC, this kind of dialog box, similar to many dialog boxes in Microsoft Word, Excel, and Visual C++, appears to contain a stack of tabbed sheets, much like a stack of file folders seen from front to back, or a group of cascaded windows. Controls on the front tab are visible; only the labeled tab is visible on the rear tabs. Property sheets are particularly useful for managing large numbers of properties or settings that fall fairly neatly into several groups. Typically, one property sheet can simplify a user interface by replacing several separate dialog boxes.

As of MFC version 4.0, property sheets and property pages are implemented using the common controls that come with Windows 95 and Windows NT version 3.51 and later.

Property sheets are implemented with classes CPropertySheet and CPropertyPage (described in the MFC Reference). CPropertySheet defines the overall dialog box, which can contain multiple "pages" based on CPropertyPage.

For information on creating and working with property sheets, see the topic Property Sheets.

See also

Dialog Boxes
Working with Dialog Boxes in MFC
Property Sheets and Property Pages in MFC
Exchanging Data
Creating a Modeless Property Sheet
Handling the Apply Button