Re: how to display current time in status bar?



Hello james,

how to display current time in the status bar.


You can use SetIndicators to create panes on status bar. You can display any text in it. These are updated with ON_UPDATE_COMMAND_UI mechanism by default. So if your app is idle and you want to update the time, you will need to have a timer.


As usual, check out codeguru and codeproject for sample code. I am certain you will find something there.

--
Ajay Kalra [MVP - VC++]
ajaykalra@xxxxxxxxx


.


Loading