al@well.sf.ca.us (Alfred Fontes) (01/29/91)
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 --