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.
CDC::Polyline
CDC                                         Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  BOOL Polyline( LPPOINT lpPoints, int nCount );
 
  Parameter   Description
 
  <lpPoints>  Points to an array of points to be connected.
 
  <nCount>    Specifies the number of points in the array. This value must
              be at least 2.
 
  Remarks
 
  Draws a set of line segments, connecting the points specified by
  <lpPoints>. The lines are drawn from the first point through subsequent
  points, using the current pen. Unlike LineTo, the Polyline function
  neither uses nor updates the current position.
 
  Return Value
 
  TRUE if the function is successful; otherwise FALSE.
 
  See Also
 
  CDC::LineTo, CDC::Polygon, ::PolyLine
 
 
                                     -♦-