[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Rectangle( hDC, nTop, nLeft, nBottom, nRight [,hPen] )-> <lSuccess>
------------------------------------------------------------------------------



 PARAMETER:

  <hDC>          Identifies the device context where to paint

  <nTop>         specify the target coordinates of the rectangle
   ....
  <nRight>

  <hPen>         specifies an ( optional ) pen that will be used to 
                 draw the rectangle


 RETURNS:

  <lSuccess> will be TRUE if the operation was successful.


 DESCRIPTION:

  The Rectangle function draws a rectangle, using the current or the 
  specified pen. The interior of the rectangle is filled by using the 
  current brush. Both the width and the height of a rectangle must be
  greater than 2 units and less than 32,767 units. 

 SOURCE:

  SOURCE\WINAPI\DRAWING.C



See Also: hDC lineTo
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson