From: "Adam Christopher Lawrence" 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> NNTP-Posting-Host: ip203-180.cc.interlog.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > 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!