CMFCPropertySheetCategoryInfo::CMFCPropertySheetCategoryInfo
Constructs a CMFCPropertySheetCategoryInfo object.
CMFCPropertySheetCategoryInfo(
LPCTSTR lpszName,
int nIcon,
int nSelectedItem,
const CMFCPropertySheetCategoryInfo* pParentCategory,
CMFCPropertySheet& propSheet
);
Parameters
[in] lpszName
The name of a node in a tree control.[in] nIcon
Zero-based index of an icon, or -1 if no icon is used. The icon is displayed next to the tree control property page when the page is not selected. The default value is -1.[in] nSelectedItem
Zero-based index of an icon, or -1 if no icon is used. The icon is displayed next to the tree control property page when the page is selected. The default value is -1.[in] pParentCategory
Pointer to a parent tree node, or NULL to associate the specified page with the top-level node. Set this parameter by using the CMFCPropertySheet::AddTreeCategory method.[in] propSheet
A property sheet object that represents a leaf in a tree control.
Remarks
This documentation uses the terms node and category interchangeably. A tree control contains a set of nodes and each node contains a set of leaves. The tree control itself is implemented as a property sheet, a leaf is implemented as a property page, and a node is implemented as a CMFCPropertySheetCategoryInfo object.
Requirements
Header: afxpropertysheet.h