🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #1962

WM_PAINT mesgs

#1962
From: Gary Kipnis
Date: Tue, 07 Nov 1989 17:22
15 lines
1091 bytes
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
Technical Details
Message-ID: <32415@ucbvax.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!janus.Berkeley.EDU!kipnis

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!janus.Berkeley.EDU!kipnis
From: kipnis@janus.Berkeley.EDU (Gary Kipnis)
Newsgroups: comp.windows.ms
Subject: WM_PAINT mesgs
Message-ID: <32415@ucbvax.BERKELEY.EDU>
Date: 7 Nov 89 17:22:10 GMT
Sender: usenet@ucbvax.BERKELEY.EDU
Reply-To: kipnis@janus.Berkeley.EDU (Gary Kipnis)
Organization: University of California, Berkeley
Lines: 15