Toggles the checkmark status of a menu field
| Call | |
| #include <vv_menu.h> | |
| int CHECKMARK(mfmp) | |
|
MFORMPTR mfmp |
Pointer to menu form that contains the menu field from which this function is called |
| Returns | |
| SAMELEVEL | The return value of action functions indicate the next menu level in the menu hierarchy to display and process. In this case, the current menu level remains displayed. |
| Description
CHECKMARK() is an action function associated with a menu field. It toggled the checkmark status of the current menu field in the specified menu form. When a user selects a menu field, its action function is called and is passed the pointer to the menu form that contains the menu field from which the action function was called. CHECKMARK() sets the altered flag for the menu, so that the menu will be redisplayed with the new checkmark status. CHECKMARK(), as provided, returns the value SAMELEVEL, indicating that the current menu level remains unchanged. |
|