delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/13/13:51:13

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro GUI: Focus
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <a74f3to9jvj7t3eglk6ah2c2kdbd75sels@4ax.com>
References: <3a36228f DOT 15812477 AT news DOT soco DOT de>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019