BCGControlBar Pro for MFC
BOOL CBCGPOutlookBarPane::RemoveButton ( UINT  iIdCommand)

Removes a button from an outlook bar's page.

Returns
Nonzero if success; it is 0 if the specified page or button to remove is invalid.

Call this function to remove a button specified by iIdCommand.

Parameters
iIdCommandSpecifies the command ID of a button to remove.