Category Custom user interface, Object ProUIDialog

Function ProUIDialogMenupaneAdd


Description
To add the menupane to a cascade button (either in the menubar or outside it), use ProUICascadebuttonPopupmenuSet(). To add the menupane directly into the menubar, use ProUIMenubarNamesSet().
Synopsis
#include <ProUIDialog.h>
ProErrorProUIDialogMenupaneAdd(
char* dialog
/* (In)
Name of the dialog.
*/
char* name
/* (In)
Name of the menupane to be added.
*/
)
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: Dialog Operations
  2. User Interface: Dialogs: Adding and Removing Components