www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/21/09:46:27

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
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: <TstH$EAQC5E1Ewdk@talula.demon.co.uk>
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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019