BCGControlBar Pro for MFC
void CBCGPPropertySheet::RemoveCategory ( CBCGPPropSheetCategory pCategory)

Removes a category from the tree navigation control.

Use this function to remove an existing category from the tree navigation control. A list of pointers to categories should be stored while adding new categories with AddTreeCategory().

You must call CBCGPPropertySheet::SetLook with CBCGPPropertySheet::PropSheetLook_Tree style before the property sheet has been created.

Parameters
pCategoryPoints to a category to be removed.