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.
operator HPEN( ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CPen Overview, CPen Operators, Graphical Drawing Object Classes