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

Concepts

Dialog Boxes

Life Cycle of a Dialog Box

Property Sheets and Property Pages in MFC

Exchanging Data

Creating a Modeless Property Sheet

Handling the Apply Button