API Documentation > Creo Parametric user interface > Object ProUIDashboard > Function ProUIDashboardStdlayoutButtonAdd
Function ProUIDashboardStdlayoutButtonAdd
Description
Adds a new push button to the dashboard of Creo Parametric. This function affects the top-level Creo Parametric dashboard only. This function is executed only once during a Creo Parametric session for each push button. Subsequent calls to this function for a previously loaded push button are ignored.
Synopsis
#include <ProUIDashboard.h>
ProUIDashboardStdlayoutButtonAdd
(
ProUIDashboardPage page_handle
/* (In)
Handle to the dashboard page.
*/
/* (In)
The label of the push button
*/
/* (In)
The one-line help for the push button
*/
ProFileName filename
/* (In)
The name of the message file that contains the label and help string
*/
)
Returns
The function successfully added the button.
One or more input arguments was invalid.
The function failed to add the button.
The specified message was not found in the message file.
User Guide References
Was this helpful?