API Documentation
>
Custom user interface
>
Object ProUIDialog
> Function ProUIDialogMenupaneAdd
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
>
ProError
ProUIDialogMenupaneAdd
(
char* dialog
/* (In)
Name of the dialog.
*/
char* name
/* (In)
Name of the menupane to be added.
*/
)
Returns
PRO_TK_NO_ERROR
The function succeeded.
PRO_TK_GENERAL_ERROR
The function failed.
PRO_TK_BAD_INPUTS
One or more input arguments was invalid.
User Guide References
Dialog Operations:ProUIDialogMenupaneAdd
Adding and Removing Components:ProUIDialogMenupaneAdd
Was this helpful?
This site works best with JavaScript enabled