cpx
cpx

Reputation: 17577

Moving the Text drawn by TextOut() Function

I'm trying to redraw some text I drew on window at x and y coordinates say (100, 100) to a new location (500, 500). when I redraw the text, it doesn't erase the old text at (100, 100) until I refresh the window (like do a minimize and maximum). how can you update the window to display the current text?

Upvotes: 0

Views: 634

Answers (1)

Roger Lipscombe
Roger Lipscombe

Reputation: 91925

InvalidateRect, UpdateWindow.

Upvotes: 2

Related Questions