This might be a rudimentary issue... but I have no clue as how to do this.
Have an application that had a series of DrawText calls in a CDC and CRect. Works well. Client wants me to add a "clock" under the text. Took what they had, added the GetLocalTime call to get the time and used a copy of the previous DrawText steps to add it to the display.
Worked.... except....
As the seconds tick away, it OVERWRITES the existing DrawText and "stacks" them one on top of the other. Was going to SetBackMode to OPAQUE but they need to have the background color(s) show through (it's multicolor).
Thought about old school and just writing a bunch of spaces before laying the next DrawText.... that didn't work.
I am sure this is pretty basic... but for the life of me, I am not sure which way to go and am getting tired of trial an errors (or should I say errors and errors).
I can try... I'm just modifying a previous programmers code..... so....
The "window" is the entire screen. This is actually a screen saver and the writing is centered on the screen. I am beginning to NOT like ScreenSaver coding... touch to debug and test (& understand)!!!
Bookmarks