Force redraw of window
Hi,
i want to create a window and place it centered on the screen.
To do this, i temporarily hide it, call MoveWindow, and then show it again. The problem is, the contents are not redrawn after showing it again.
I call UpdateWindow() after reshowing the window.
can someone give me a hint?
thanks
Gammastrahler
[edited by - Gammastrahler on June 3, 2003 4:43:28 PM]
Do an InvalidateRect() on the window, before the UpdateWindow() call.
[edited by - Dave Hunt on June 3, 2003 5:06:26 PM]
[edited by - Dave Hunt on June 3, 2003 5:06:26 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement