TonyGoacher
Programmer
Hi,I have a modeless dialog box with 64 small static text
boxes which I am using to simulate lamps.
The LED states are controlled from a C program , I have created a wrapper for the class and have a function
which sets the led status in a class member variable and invalidates the appropriate static text box.
I handle the color change in OnCtlColor.
However, the color does not change unless I move the dialog
off screen and bring it back on again.
I have tried using a raw Invalidate() and this works but causes the dialog to flicker annoyingly.
Does anyone have any suggestions??
Tony Goacher
boxes which I am using to simulate lamps.
The LED states are controlled from a C program , I have created a wrapper for the class and have a function
which sets the led status in a class member variable and invalidates the appropriate static text box.
I handle the color change in OnCtlColor.
However, the color does not change unless I move the dialog
off screen and bring it back on again.
I have tried using a raw Invalidate() and this works but causes the dialog to flicker annoyingly.
Does anyone have any suggestions??
Tony Goacher