CMFCPropertyGridProperty::RemoveSubItem

Removes the specified sub-item.

BOOL RemoveSubItem(
   CMFCPropertyGridProperty*& pProp,
   BOOL bDelete=TRUE 
);

Parameters

  • [in] pProp
    Pointer to a property sub-item.

  • [in] bDelete
    TRUE to delete the property object that is specified by the pProp parameter; otherwise, FALSE. The default value is TRUE.

Remarks

Specify FALSE for the bDelete parameter if you intend to move the specified sub-item; that is, remove the sub-item and then add it elsewhere.

Requirements

Header: afxpropertygridctrl.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCPropertyGridProperty Class