int CBCGPToolbarCustomize::RemoveButton | ( | LPCTSTR | lpszCategory, |
UINT | uiCmdId | ||
) |
Removes a toolbar button from the list box of commands on the "Commands" page.
Call this member function to remove the specified button from the specified category.
You can use the first version of the RemoveButton function if you need to remove a button from all categories, just set uiCategoryId to -1.
lpszCategory | Specifies the name of the category to remove the button from. |
uiCmdId | Specifies the button's command ID. |