🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #14095

Programming problem...

#14095
From: Anthony Thomas Green
Date: Tue, 27 Feb 1990 01:27
17 lines
1114 bytes
Ack! I have a perplexing question...

I am writing an application with the SDK. The problem I am having is that
whenever I process a WM_PAINT message, it seems that the entire window has 
been invalidated and that it must repaint the whole thing. This is not
supposed to happen. 
At one point I invalidate a small section of the window, but very carefully.
I know that if I try to InvalidateRect with my lpRect == NULL, it will
invalidate the whole thing, but I am careful, and am only invalidating
a small section. Somebody at Microsoft tech support suggested that it might
have something to do with the way I created my window. Anybody happen apon
a similar weirdity? Any suggestions?

Thanks,

 Anthony Green
 green@ai.toronto.edu
Technical Details
Message-ID: <90Feb26.202650est.10553@ephemeral.ai.toronto.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!ephemeral.ai.toronto.edu!green

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!ephemeral.ai.toronto.edu!green
Newsgroups: comp.windows.ms
From: green@ai.toronto.edu (Anthony Thomas Green)
Subject: Programming problem...
Message-ID: <90Feb26.202650est.10553@ephemeral.ai.toronto.edu>
Organization: Department of Computer Science, University of Toronto
Date: 27 Feb 90 01:27:13 GMT
Lines: 19