[comp.windows.ms] WM_PAINT mesgs

kipnis@janus.Berkeley.EDU (Gary Kipnis) (11/08/89)

I would like to thank everyone who responded to my question about 
sending WM_PAINT message to all of windows.
the solution was to use InvalidateRect(hWnd, NULL, TRUE) and then
UpdateWindow(hWnd) for faster repaint.

Now, the above successfully repaints the client area, what about the 
menu's, title bar, border.  I know that normally window itself take care 
of those items, but I am writing a programm that 'munches' the screen,
without regard to borders, windows, menus, etc...
Thus, when the program is terminated it needs to restore all of the windows,
and what I get now is just the restored client area :)

Thank you very much

gary