Call this member function to obtain a pointer to a CPen object when you have a handle to a Windows GDI pen object.
static CPen* PASCAL FromHandle( HPEN hPen );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CPen Overview, CPen Member Functions, Graphical Drawing Object Classes