gstokes
May 7th, 1999, 11:48 AM
Hi.
I have a static bitmap in a dialog control, and I want to highlight various areas of it with color as the user presses keys.
I have all the logic implemented, but I can't get the redrawing to work properly. Inside Visual C++ claims that you just override OnPaint and do your stuff, but then only the one control I'm messing with gets drawn. Any invalidation of the rest of the dialog makes it go blank.
How can I draw inside a dialog control and have the changes stick?
Thanks.
I have a static bitmap in a dialog control, and I want to highlight various areas of it with color as the user presses keys.
I have all the logic implemented, but I can't get the redrawing to work properly. Inside Visual C++ claims that you just override OnPaint and do your stuff, but then only the one control I'm messing with gets drawn. Any invalidation of the rest of the dialog makes it go blank.
How can I draw inside a dialog control and have the changes stick?
Thanks.