CPen

The CPen class encapsulates a Windows graphics device interface (GDI) pen.

At a Glance

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

Remarks

Windows CE does not support the overloaded versions of the CPen::CPen and CPen::CreatePen member functions that take the pLogBrush, nStyleCount, and lpStyle parameters.

Windows CE also does not support the GetExtLogPen member function of the CPen class.

See Also

CPen Member Functions, CPen Operators, Graphical Drawing Object Classes, CBrush