2)
Instead of using label use a field. Update this field when ever you
timer tick changes. You can draw field with FldDrawField. Drawing "Form"
continuously will lead to flickering. Drawing field will be perfect.
3)
EventType evt;
evt.eType = frmUpdateEvent;
evt.data.frmUpdate.formID = YourFormID;
EvtAddEventToQueue(&evt);
This will enque an event for you form.
In your form handling function you have to write a "case:" for this event.
When ever you found that your counter changed, you can enque this event and
in your handler you can call FrmDrawForm() to redraw.
One doubt I have, are you updating this timer from timer callback or sound
callback?
Regards,
Sheshu Kumar Inguva.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Durgesh Trivedi
Sent: Tuesday, September 26, 2006 12:38 PM
To: Palm Developer Forum
Subject: RE: Refresh frm
Thanks 4 ur reply but i dont understand u r second and 3 point how to wrk on
them so please make me clear by some example.specially 3 point how to
en-Que FrmUpdateEvent so please short out it with any example.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.9/456 - Release Date: 9/25/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.9/456 - Release Date: 9/25/2006
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/