🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #1168

Undocumented FillWindow() Question

#1168
From: Alfred Fontes
Date: Tue, 29 Jan 1991 12:29
12 lines
967 bytes
I'm handling WM_ERASEBKGND myself, and I've noticed that the rectangle you
get from GetUpdateRect() has dimensions (0, 0, 0, 0).  I've also noticed
that DefWindowProc() calls FillWindow() when it gets this message.  The
example in page 11-13 of the "Guide to Programming" shows GetUpdateRect(),
but the source code on the SDK diskette uses GetClientRect().  The only way
I can get my program to work correctly is to call FillWindow().

Does anybody know anything about this?  I would appreciate some information
about FillWindow(), and why GetUpdateRect() doesn't seem to work correctly. 

-- Al Fontes --
-- al@well.sf.ca.us or uunet!apple!well!al --
Technical Details
Message-ID: <22926@well.sf.ca.us>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!well!al

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!well!al
From: al@well.sf.ca.us (Alfred Fontes)
Newsgroups: comp.windows.ms.programmer
Subject: Undocumented FillWindow() Question
Message-ID: <22926@well.sf.ca.us>
Date: 29 Jan 91 12:29:29 GMT
Distribution: comp
Lines: 12