cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/22/14:45:26

From: "Adam Christopher Lawrence" <guruman AT interlog DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro: problem with MENU structures
Date: 22 Mar 1998 19:32:17 GMT
Organization: Interlog Internet Services
Lines: 13
Message-ID: <01bd55c9$30241360$b4cb22cf@guruman.interlog.com>
References: <6evrjg$5mn$1 AT news DOT interlog DOT com> <TstH$EAQC5E1Ewdk AT talula DOT demon DOT co DOT uk>
NNTP-Posting-Host: ip203-180.cc.interlog.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> 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.

	Aha!

	If my functions don't return an appropriate (as in, D_CLOSE) message to
the dialog handler, the dialog doesn't exit! 

	Makes immense sense now. :) Thanks!

- Raw text -


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