CMFCPropertySheet::GetTab

Retrieves the internal tab control object that supports the current property sheet control.

CMFCTabCtrl& GetTab() const;

Return Value

An internal tab control object.

Remarks

You can set a property sheet so that it appears in different styles, such as a tree control, a list of navigation buttons, or a set of tabbed pages.

Before you call this method, call the CMFCPropertySheet::SetLook method to set the appearance of the property sheet control. Then call the CMFCPropertySheet::InitNavigationControl method to initialize the internal tab control object. Use this method to retrieve the tab control object and then use that object to work with the tabs on the property sheet.

This method asserts in debug mode if the property sheet control is not set to appear in the style of Microsoft OneNote.

Requirements

Header: afxpropertysheet.h

See Also

Reference

CMFCPropertySheet Class

Hierarchy Chart

CMFCTabCtrl Class

CMFCPropertySheet::SetLook

CMFCPropertySheet::InitNavigationControl