开发者

Moving the Text drawn by TextOut() Function

开发者 https://www.devze.com 2022-12-22 02:37 出处:网络
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)开发者_StackOve

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)开发者_StackOverflow社区 until I refresh the window (like do a minimize and maximum). how can you update the window to display the current text?


InvalidateRect, UpdateWindow.

0

精彩评论

暂无评论...
验证码 换一张
取 消