From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro GUI: Focus Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <3a36228f DOT 15812477 AT news DOT soco DOT de> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 15 X-Trace: /w/U29bWEE4kPfqQpvowWPI9YNdcRHYrJzjz9X+cwxK/5KfSwytEFdg9QqxpZdyivLSa//QCNAsV!D8Tef1MqU/Cp11tP6DXqeCFCy2pSNVajWCrZN9Lfee4WFECT3jB+k5QcQjwl4BzltYx3x2akZOI2!uJkQqQ== 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: Wed, 13 Dec 2000 15:06:20 GMT Distribution: world Date: Wed, 13 Dec 2000 15:06:20 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Tue, 12 Dec 2000 13:08:36 GMT, stapffa AT bytec-gmbh DOT de (Alexander Stapff) wrote: >as this is the first time I work with the allegro GUI-Routines I have >a problem which probably can be solved very easily. But I just canīt >find any solution. So hereīs my question: > >Is there any way to give the focus to a certain element of the GUI >without positioning the mouse over that element? From your code: Try passing the number of the element to do_dialog(). From user's perspective (working without a mouse?): Try the tab key.