Adding a PushButton
 
To add a button to the ribbon user interface, your application must do the following:
1. Define the action command to be initiated by the button. The action is defined in a function known as the “callback function.”
2. Designate the command using the function ProCmdDesignate().
3. Add the button to the ribbon user interface using the using the Customize Ribbon tab in the File > Options dialog box. This operation binds the added action to the button.
Isto foi útil?