From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro: problem with MENU structures Date: Sat, 21 Mar 1998 10:04:00 +0000 Organization: None Message-ID: References: <6evrjg$5mn$1 AT news DOT interlog DOT com> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Adam Christopher Lawrence writes: >MENU parameters_menu[] = { > {"Adjust...", AdjustParams, NULL, NULL, NULL}, > {"Reset", ResetParams, NULL, NULL, NULL}, > {NULL, NULL, NULL, NULL, NULL} >}; What values do you return from the AdjustParams() and ResetParams() functions? It is impossible to say what the problem is without seeing the source for these: after doing whatever is required to handle the command, they should return either D_O_K to continue as normal, D_REDRAW to refresh the display, or D_CLOSE to quit from the dialog. -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ "Pigs use it for a tambourine" - Frank Zappa