CPen::CreatePenIndirect

Call this member function to initialize a pen that has the style, width, and color given in the structure pointed to by lpLogPen.

Syntax

BOOL CreatePenIndirect( LPLOGPEN lpLogPen );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

In Windows CE 1.0, wide lines are only supported for solid pens.

See Also

CPen Overview, CPen Member Functions, Graphical Drawing Object Classes, CPen::CreatePen, CPen::CPen