Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>createpen</b> create logical pen http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CreatePen            Create Logical Pen

HPEN CreatePen(nPenStyle, nWidth, rgbColor)
short nPenStyle; /* see below */
short nWidth;
DWORD rgbColor;

                           nPenStyle
              |--------------------------------|
              |  0 Solid         -----------   |
              |  1 Dash          - - - - - -   |
              |  2 Dot           . . . . . .   |
              |  3 Dash-dot      - . - . - .   |
              |  4 Dash-dot-dat  - . . - . .   |
              |  5 Null                        |
              +--------------------------------+

See Also: CreatePenIndirect

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson