Menu Definition and Processing

  #include <vv_menu.h>
   
MFORMPTR mn_def (long mn_type, int rb, int cb, int rowq, int colq, UCHAR att, BORDERPTR bdrp)

Allocates and initializes a menu form structure

MFORMPTR mn_defauto (long mn_type, UCHAR att, BORDERPTR bdrp)

Defines an AUTOPLACE, AUTOSIZE direct display menu form

void mn_dn (MFORMPTR mfmp)

Removes a menu form from the screen

void mn_free (MFORMPTR mfmp)

Frees the memory allocated for a menu form

int mn_hide (int action_code, MFORMPTR start_mfmp)

Hides menus within a menu tree

int mn_proc (int start_item, MFORMPTR mfmp)

Displays a menu and passes control to the user for processing

int mn_rd (int start_item, MFORMPTR mfmp)

Passes control to the user for processing the menu

int mn_show (int action_code, MFORMPTR start_mfmp)

Redisplays menus within a menu tree

int mn_up (MFORMPTR mfmp)

Displays a menu form on the screen

void mn_upd (MFORMPTR mfmp)

Updates all menu fields and background items on a menu

MFORMPTR mn_vdef (long mn_type, int rb, int cb, int rowq, int colq, UCHAR att, BORDERPTR bdrp, int vm_rowq, int vm_colq)

Allocates and initializes a virtual menu form

MFORMPTR mn_vdefauto (long mn_type, UCHAR att, BORDERPTR bdrp)

Allocates and initializes a virtual autoplace and autosize menu form

MFIELDPTR mnf_def (int rb, int cb, UCHAR *stp, UCHAR *msg_stp, FORMPTR sub_formp, int (*action_fp) ( ), MFORMPTR mfmp)

Defines a menu field for the menu form

long mnf_ischecked (MFIELDPTR mfldp)

Determines if the menu field is checked

UCHAR * mnf_subfmnam (MENUFIELDPTR mfldp)

Determines the subform name for a menufield



Home Contents Previous Next