Refreshing the static control from Timer
I have a static control on which some text is displayed.
OnTimer, if i try to refresh the text or assign anything, it doesn't gets refresh.
If i call the same refresh function from anywhere else, it works fine.
Any hints, why it is not working from Timer function..
TIA
Anupam
Re: Refreshing the static control from Timer
Hello,
Please post your code where you initialised the timer and where you refresh your static control.
Regards.
Pravin.
Re: Refreshing the static control from Timer
use this code. it may be work
MSG msg = {NULL};
Re: Refreshing the static control from Timer
Why do you need a timer to refresh the text?
Re: Refreshing the static control from Timer
Quote:
Originally Posted by anandam2000
I have a static control on which some text is displayed.
OnTimer, if i try to refresh the text or assign anything, it doesn't gets refresh.
If i call the same refresh function from anywhere else, it works fine.
Any hints, why it is not working from Timer function..
TIA
Anupam
Control's ID must not be IDC_STATIC.