共用方式為


CMFCToolBarsCustomizeDialog::SetUserCategory

Specifies which category in the list of categories on the Commands page is the user category. You must call this function before you call CMFCToolBarsCustomizeDialog::Create.

BOOL SetUserCategory(
   LPCTSTR lpszCategory 
);

Parameters

  • [in] lpszCategory
    The name of the category.

Return Value

TRUE if the method is successful; otherwise FALSE.

Remarks

The user category setting is not currently used by the framework.

Requirements

Header: afxToolBarsCustomizeDialog.h

See Also

Reference

CMFCToolBarsCustomizeDialog Class

Hierarchy Chart