Category : C Source Code
Archive   : TOOLS4C.ZIP
Filename : MENU.H

Output of file : MENU.H contained in archive : TOOLS4C.ZIP
/******************************** MENU.H **********************************
Copyright (C) BP Software Solutions, Inc. 1987
All Rights Reserved

typedef struct SEL{
char *text;
int start_col;
int start_row;
int sel_att; /* zero for default */
int unsel_att; /* zero for default */
int activate_key_1;
int activate_key_2;
int (*do_function)(); /* NIL if not used */
char *exe_call; /* NULL if not used */
int (*help_function)(); /* NIL if not used */
int exit; /* exit menu after commmand - TRUE or FALSE */
} SEL;

typedef struct MENU {
struct WNDW *menu_window;
int default_non_select_att; /* same as fill attr */
int default_cursor_att;
int title_format;
int window_title_att;
char *window_title_text;
int pcursor_type; /* 0==string len, 1==max strg len, 2== full window */
int exit_key;
int help_key;
int (*menu_text)(); /* or NIL */
int (*error_fn)(); /* or NIL */
struct SEL *sel_list;
int num_sel;

/* ---------------- Function Prototype ----------------------*/
extern int menu(MENU *);

  3 Responses to “Category : C Source Code
Archive   : TOOLS4C.ZIP
Filename : MENU.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: