On Wed, 2002-09-04 at 02:04, ScottP wrote:
> How do you close a dialog from it's event loop.... for example I want to
> show a dialog using FrmDoDialog() but close it if the user hasn't tapped
> anything after 5 secs. I'm guessing I give the dialog an event handler and
> watch in nilEvents to see if the time limit has passed, but what code do I
> use to close the dialog - do I call a function or create an event?

After the time limit expires, use CtlHitControl to simulate hitting a
button on the dialog.

-- 
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to