Category Custom user interface, Object ProUILayout

Function ProUILayoutPushbuttonAdd


Description
Add a new pushbutton to the layout.
Synopsis
#include <ProUILayout.h>
ProErrorProUILayoutPushbuttonAdd(
char* dialog
/* (In)
The name of the dialog that contains layout.
*/
char* component
/* (In)
The name of the layout component.
*/
char* name
/* (In)
The name of the pushbutton to be added.
*/
ProUIGridopts* grid
/* (In)
Position of the pushbutton in the layout.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_GENERAL_ERRORThe function failed.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.

Manual References:

  1. User Interface: Dialogs: Adding and Removing Components

Sample Code References:

  1. pt_userguide ( UgCreoSweepCreate.c )
  2. pt_userguide ( UgCreoSweepCreate.c )