[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SetWhitePen( hDC )-> <hPrevPen>
------------------------------------------------------------------------------
PARAMETER:
<hDC> handle that identifies a device context in which the pen
is to be selected
RETURNS:
<hPrevPen> is the handle of the previously selected pen
DESCRIPTION:
This function retrieves a predefined white Pen and selects it into
the given context. The Pen can than be used to write to the window.
EXAMPLE:
+--------------------------------------------------------------+
| /* Get a White pen and draw a rectangle */ |
| hPen := SetWhitePen( hDC ) |
| Rectangle( hDC, 10, 10, 100, 120 ) |
| SelectObject( hPen ) |
+--------------------------------------------------------------+
SOURCE:
SOURCE\WINAPI\GETSTKOB.C
See Also:
GetStockObject
SetBlackPen
SelectObject
Rectangle
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson