Hi Jan,

A very good question!  The best way to handle this is to create your own
event queue and post a custom event when you add an event to this queue.  In
your main form loop, when you receive this custom event you should retrieve the
BT event from your custom queue.  Also in your main event loop, you should poll
your custom queue when you receive a winEnter event, in case you missed your
custom event while another window was open.

Regards,

Peter

http://www.whizoo.com
Contractor for hire (PalmSource Certified Developer)
Source code available for all apps!!
BtSerial Pro - Serial Port Client for the Palm OS
BtSerial - Bluetooth Serial Port Client for the Palm OS
BtServer - Bluetooth Serial Port Server for the Palm OS
Net Sync - Programmatically manipulate network settings
RegCode - Add registration code support to your app



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

Reply via email to