🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #14100

Re: Programming problem...

#14100
From: Bill Turner
Date: Tue, 27 Feb 1990 18:03
12 lines
1129 bytes
> 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. 

You can check to see what Windows thinks is invalid by checking the rcPaint
field in the paint structure returned from BeginPaint.  If you are calling
InvalidateRect with non-NULL (and partial window) rectangles, then it should
do clipping correctly, and only repaint in part of the window.

--Bill Turner (bturner@hp-pcd.hp.com)
HP Interface Technology Operation
Technical Details
Message-ID: <106580082@hpcvlx.cv.hp.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think!paperboy!snorkelwacker!mit-eddie!uw-beaver!Teknowledge.COM!unix!hplabs!hp-pcd!hpcvlx!bturner
References: <90Feb26.202650est.10553@ephemeral.ai.toronto.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think!paperboy!snorkelwacker!mit-eddie!uw-beaver!Teknowledge.COM!unix!hplabs!hp-pcd!hpcvlx!bturner
From: bturner@hpcvlx.cv.hp.com (Bill Turner)
Newsgroups: comp.windows.ms
Subject: Re: Programming problem...
Message-ID: <106580082@hpcvlx.cv.hp.com>
Date: 27 Feb 90 18:03:30 GMT
References: <90Feb26.202650est.10553@ephemeral.ai.toronto.edu>
Organization: Hewlett-Packard Co., Corvallis, OR, USA
Lines: 12