Adds a child item to a property.
BOOL AddSubItem( CMFCPropertyGridProperty* pProp );
- [in] pProp
Pointer to a property to add.
TRUE if the specified property is successfully added as a child property. FALSE if the property is not added because it already occurs in the parent property.
Use this method to create a hierarchical list of parent and child properties. After a child property is added, the parent property automatically displays an expand box control that is designated by a plus sign (+). When the user clicks the plus sign, the parent property expands and displays any child property items.