CPen::operator HPEN

Use this operator to get the attached Windows GDI handle to the CPen object. This operator is a casting operator, which supports direct use of an HPEN object.

Syntax

operator HPEN( ) const;

At a Glance

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

See Also

CPen Overview, CPen Operators, Graphical Drawing Object Classes