Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
PAINTSTRUCT Structure
                                              Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  typedef struct tagPAINTSTRUCT {
     HDC  hdc;
     BOOL fErase;
     RECT rcPaint;
     BOOL fRestore;
     BOOL fIncUpdate;
     BYTE rgbReserved[16];
  } PAINTSTRUCT;
 
  Member            Description
 
  hdc               Identifies the display context to be used for
                    painting.
 
  fErase            Specifies whether the background needs to be redrawn.
                    It is not zero if the application should redraw the
                    background. The application is responsible for drawing
                    the background if a Windows window-class is created
                    without a background brush, (see the description of
                    the hbrBackground member of the WNDCLASS structure).
 
  rcPaint           Specifies the upper-left and lower-right corners of
                    the rectangle in which the painting is requested.
 
  fRestore          Reserved member. It is used internally by Windows.
 
  fIncUpdate        Reserved member. It is used internally by Windows.
 
  rgbReserved[16]   Reserved member. A reserved block of memory used
                    internally by Windows.
 
 
                                     -♦-