Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
setting custome value to segmentclock
10-29-2014, 02:33 AM
Post: #2
RE: setting custome value to segmentclock
Hi!

In C++Builder there's a function that does that job for you:

System::TDateTime __fastcall EncodeTime(Word Hour,Word Min,Word Sec,Word MSec);

Don't know about VC, perhaps it has something similar function. If it uses the same format as the TDateTime datatype in Builder then the integral part is the date (not used here of course) and the fractional part the time.
Perhaps that helps somewhat, as an alternative you could perhaps use a SegmentText and display whatever string you want to be displayed.

Regards,
Dave
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: setting custome value to segmentclock - Dave - 10-29-2014 02:33 AM
Alac converter bound - CobDiomi - 12-03-2016, 07:59 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)