From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro Help! Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: <3mo3us8vu1d8lc4vqj369m22uu58lpnv71@4ax.com> References: <39DE97DC DOT 8040903 AT email DOT com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 31 X-Trace: /bdhN9UkZHeMLpO28s/jHgj5eOWvPHKhyWxNiofvDEGrFi8VPexbDmY/OX9O6ojL4yRBwXIILGkd!YxwLigLwvDHD11mF4LD0vKwGuxmKTYcDkJ1RF2ziReNJ5NQvjIEho5ndw4T7gpZPAvAMdGK3d3xt!L3qhrQ== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Mon, 09 Oct 2000 15:23:43 GMT Distribution: world Date: Mon, 09 Oct 2000 15:23:43 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 07 Oct 2000 11:26:20 +0800, Derek Chew wrote: >I just started using DJGPP and Allegro only around a few weeks ago and >was quite impressed by all the examples... >I am now trying to build a GUI look-a-like software using DJGPP and >Allegro 3.12 Allegro 3.12 is an old version. I use 3.9.32 (even though it's marked as WIP, it's just as stable). >for monitoring the status of a DC Motor... the problem is >that I am not very sure how to create small boxes with number which >change in accordance to the values in some other variables... I was >hoping that someone more experience might be able to help me out.... > >so far I managed to get the pull down menus and fixed text to appear at >locations but how do you create text which changes as the varible (text >string or numbers) with a box around it? What I do to make dynamic text in Allegro dialog boxes is update the string, then set the D_DIRTY flag whenever the text needs to be redrawn. --