开发者

How can I make a basic text clock in Visual C++ Windows Form

开发者 https://www.devze.com 2023-01-26 17:32 出处:网络
as the title says, is there a way I can have a clock that updates every minute the time from the ma开发者_Python百科chine

as the title says, is there a way I can have a clock that updates every minute the time from the ma开发者_Python百科chine

Eg, a text that says "The time is 5.04pm"

then a minute later

"The time is 5.05pm"


You could start a thread (separate from the GUI thread) that sleeps for a minute, wakes up and updates the GUI textbox value.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号