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

Removes a button from an outlook bar's page.

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.

iIdCommandSpecifies the command ID of a button to remove.