--- Akhil Bhandari <[EMAIL PROTECTED]> wrote:
> 
> pls help me with the code as to how to display system
> time on a label... <snipped worthless dots> 

You can get the current date and time with:

  DateTimeType now;
  TimSecondsToDateTime(TimGetSeconds(), &now);

If you want to display that, convert the time to a string and use
WinDrawChars() to draw it.  You really shouldn't use a label if you
plan to change the text at runtime.  (If you think you absolutely must
change the label, then hide it with FrmHideObject(), use FrmCopyLabel()
to change it, then show the label with FrmShowObject().)


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com


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

Reply via email to