I'm trying to place the date and time in my statusbar, but the time does not change and remains static, I think I need a loop or something, I google it and found several ways to get time from my system, and this is the only one that works with 12h am-pm
maybe is simple but can not get a function for that, I do not want to do it for me, just guide me or the name of a function and excuse my language, I'm from latin america ^^
regards
Last edited by v_nom70; December 13th, 2012 at 08:18 PM.
Add a timer component and put your code in the timer tick event. I think I saw an example of just this in VS walkthroughs.
You don't want to put it in a loop or you won't be able to do anything else!
Humm.. I forgot to say, do not use C# or MFC, I use vs2010 winapi 32 + mysql, but thank you wrote, I found WM_TIMER and SetTimer trying to find a solution.
Bookmarks