AddButton Method (Toolbar Control)
Windows - Visual C++
Description
The AddButton method adds the
specified button.
Syntax
long result = AddButton(short ButtonId);
The AddButton syntax has these parts:
Part |
Description |
buttonID |
A short integer containing the ID of the button to be added. |
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: AddSeparator DeleteButton DeleteSeparator
Back to: Toolbar Methods