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.
Update/Painting Functions
◄CWnd►                                        ◄Up► ◄Contents► ◄Index► ◄Back►
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  ◄BeginPaint►        Prepares CWnd for painting and fills a
                      ◄PAINTSTRUCT► data structure with information about
                      the painting.
 
  ◄EndPaint►          Marks the end of painting.
 
  ◄GetDC►             Retrieves a display context for the client area.
 
  ◄GetWindowDC►       Retrieves the display context for the whole window,
                      including the caption bar, menus, and scroll bars.
 
  ◄ReleaseDC►         Releases common and window device contexts, freeing
                      them for use by other applications.
 
  ◄UpdateWindow►      Updates the client area.
 
  ◄SetRedraw►         Allows changes in CWnd to be redrawn or prevents
                      changes from being redrawn.
 
  ◄GetUpdateRect►     Retrieves the coordinates of the smallest rectangle
                      that completely encloses the CWnd update region.
 
  ◄GetUpdateRgn►      Retrieves the CWnd update region.
 
  ◄Invalidate►        Invalidates the entire client area.
 
  ◄InvalidateRect►    Invalidates the client area within the given
                      rectangle by adding that rectangle to the update
                      region.
 
  ◄InvalidateRgn►     Invalidates the client area within the given region
                      by adding it to the current update region.
 
  ◄ValidateRect►      Validates the client area within the given rectangle
                      by removing the rectangle from the update region.
 
  ◄ValidateRgn►       Validates the client area within the given region by
                      removing the region from the current update region.
 
  ◄ShowWindow►        Shows or hides CWnd.
 
  ◄IsWindowVisible►   Determines if the window is visible.
 
  ◄ShowOwnedPopups►   Shows or hides all pop-up windows associated with
                      the window.
 
 
                                     -♦-