Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE3579357@probe-2.acclaim-euro.net> From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: help on allegro menus Date: Mon, 22 Feb 1999 12:21:10 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain Reply-To: djgpp AT delorie DOT com The Lee, You Know Who writes: > 1.) why does the background color of the textout() functions alternate > between red and black? (e.g. click on "rectangle", background of textout > is black, click on "circle", background of textout is red, click on > "triangle", background of textout is black, etc ...) This one is answered in the Allegro FAQ, which says: The textout() function doesn't work after I use any of the GUI routines! One of the GUI objects has changed the text_mode() setting while it was drawing itself. Call text_mode() again to select whatever background color you want to use. > 2.) why is there a tick beside the 'circle' menu option? how can i > remove that tick? You aren't initialising the flags field in your menu structures, so it will be containing random garbage. Sometimes, that garbage might happen to contain a D_SELECTED bit, which displays the check mark. You need to make sure the flags are zeroed. Shawn Hargreaves.