SYNOPSIS
#include <menu.h>
int set_menu_format(MENU *menu, int rows, int cols);
int menu_format(const MENU *menu, int *rows, int *cols);
DESCRIPTION
The function
The default format is 16 rows, 1 column. Calling
The function
RETURN VALUES
These routines returns one of the following:
- E_OK
-
The routine succeeded.
- E_SYSTEM_ERROR
-
System error occurred.
- E_BAD_ARGUMENT
-
Routine detected an incorrect or out-of-range argument.
- E_POSTED
-
The menu is already posted.
NOTES
The header file <menu.h> automatically includes the header file <curses.h>.
PORTABILITY
These routines emulate the System V menu library. They were not supported on Version 7 or BSD versions.
AUTHORS
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.5 Documentation Build 40.