Path: 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 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