Category Custom user interface, Object ProUIMenubar

Function ProUIMenubarNamesSet


Description
Set the list of names for menu panes in a menu bar.

Use this function only with a menu bar in a custom application-created UI dialog.

Synopsis
#include <ProUIMenubar.h>
ProErrorProUIMenubarNamesSet(
char* dialog
/* (In)
The name of the dialog that contains the menu bar
*/
char* menubar
/* (In)
The name of the menu bar component
*/
int count
/* (In)
The number of items on the values array
*/
char** values
/* (In)
Array of names of menu panes in the menu bar. This list of names is used only by the function ProUIMenubarItemhelptextSet().
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_GENERAL_ERRORThe function failed

Manual References:

  1. User Interface: Dialogs: Dialog Operations
  2. User Interface: Dialogs: Menubar Attributes