I have the following for at poll program:
[snip]
UInt32 init = TimGetSeconds();
while (TimGetSeconds() < init+3)
{
// Do absolutely notihng. Busy-wait loop...
}
FrmReturnToForm(0);
[snap]This is in a forms OnOpen Event. It should close the form after approx. 3 seconds... It does do this, but I have an issue related to this.
The form is smaller that the apps form beneath. I can se a button, and if I click it while "busy", it react on the click. After three seconds the popup-form closes, and the action on the new butoon click starts.
How do I keep the button click from reacting while the app is "busy" looping?
Thx
/morten
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
