CPen::FromHandle

Call this member function to obtain a pointer to a CPen object when you have a handle to a Windows GDI pen object.

Syntax

static CPen* PASCAL FromHandle( HPEN hPen );

At a Glance

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

See Also

CPen Overview, CPen Member Functions, Graphical Drawing Object Classes