Pelles C forum
C language => Beginner questions => Topic started by: champ on January 08, 2008, 10:45:58 PM
-
Hello,
I am trying to output the time using the ExtTextOut function. How do I get the time information? How do I have to convert the information to write it out using ExtTextOut?
Best regards
Martin
-
GetSystemTime() or GetLocalTime() to get the time, and then wsprintf() ( or possibly GetTimeFormat() depending on OS version ) to format the time to a buffer, which may then be used with output functions like ExtTextOut() ...