How to Add a Button to the Toolbar

Previous Next

This section explains how to add a button to the toolbar of your application.

Example:

To speed up access to the Message History dialog, you can add a button to the toolbar. The procedure for adding a button includes:

Creating a bitmap for the button.

Checking out the menu page and option to which the button is to be added.

Adding the button's data (i.e. position on the toolbar, and the bitmap filename) to the definition of the menu option.

Checking out authorization.

See Also:

Creating a Bitmap

Checking out Which Menu Page and Option to Use

Adding the Button's Data to the Menu Option Definition

Checking out Authorization

Looking at the Result