int CBCGPToolbarCustomize::RemoveButton | ( | UINT | uiCategoryId, |
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.
uiCategoryId | Specifies the category ID to remove the button from. |
uiCmdId | Specifies the button's command ID. |