delorie.com/archives/browse.cgi | search |
From: | "Eric Botcazou" <ebotcazou AT libertysurf DOT fr> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: help with allegro program |
Date: | Sat, 17 Nov 2001 12:23:57 +0100 |
Lines: | 22 |
Message-ID: | <9t5hb4$bjg$1@news2.isdnet.net> |
References: | <3bf2ed47 DOT 13317482 AT gtech> |
NNTP-Posting-Host: | dyn-213-36-24-229.ppp.libertysurf.fr |
X-Trace: | news2.isdnet.net 1005996196 11888 213.36.24.229 (17 Nov 2001 11:23:16 GMT) |
X-Complaints-To: | abuse AT isdnet DOT net |
NNTP-Posting-Date: | 17 Nov 2001 11:23:16 GMT |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2014.211 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2014.211 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
> How do I change this program, so that it only exits thru the menu item > quit? Selecting the about menu item drops thru to the report the > results. See the docs, section GUI routines: "The dialog procedure should follow the form: int foo(int msg, DIALOG *d, int c); The dialog procedure should return one of the values: D_O_K - normal return status D_CLOSE - tells the dialog manager to close the dialog D_REDRAW - tells the dialog manager to redraw the entire dialog D_REDRAWME - tells the dialog manager to redraw the current object D_WANTFOCUS - requests that the input focus be given to this object D_USED_CHAR - MSG_CHAR and MSG_XCHAR return this if they used the key" -- Eric Botcazou ebotcazou AT multimania DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |