Click here for NewsObjects Overview
DeleteButton Method (Toolbar Control)
Windows - Visual C++


Description
The DeleteButton method deletes the specified button.

Syntax
long result = DeleteButton(short ButtonId);

The DeleteButton syntax has these parts:

Part

Description

buttonID

A short integer containing the ID of the button to be deleted.

result

A Boolean containing TRUE if the method succeeds and FALSE if not.

Remarks
See Toolbar for a list of valid button IDs. 

See Also: AddButton AddSeparator DeleteSeparator

Back to: Toolbar Methods