Placing the Button
Once the button has been created using the functions discussed, place the button on the
Creo Parametric ribbon user interface. Refer to the section on
User Interface: Ribbon Tabs, Groups, and Menu Items for more information. Also, refer to the
Creo Parametric Help for more information on customizing the Ribbon User Interface.
Example 1: Designating a Command
The example code in the file UgMain.c located at <creo_toolkit_loadpoint>/protk_appls/pt_userguide/ptu_main illustrates how to designate a command to be available for placement as a button.