Category Custom user interface, Object ProUIMenubar

Function ProUIMenubarSelectablenamesSet


Description
Set which buttons in the menu bar are currently selectable

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

Synopsis
#include <ProUIMenubar.h>
ProErrorProUIMenubarSelectablenamesSet(
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 which are to be selectable. An empty list (or NULL) implies that all are selectable. Unselectable menu panes are greyed out. The names should be those of the menu pane components themselves, not the item names set using ProUIMenubarNamesSet().
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_GENERAL_ERRORThe function failed

Manual References:

  1. User Interface: Dialogs: Menubar Attributes