CPen::CreatePenIndirect

This method initializes a pen that has the style, width, and color given in the structure pointed to by lpLogPen.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL CreatePenIndirect( LPLOGPEN lpLogPen );

Remarks

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

See Also

CPen::CreatePen, CPen::CPen