CDC::GetCurrentPen

This member function retrieves a pointer to the currently selected CPen object. This member function may return temporary objects.

Syntax

CPen* GetCurrentPen( ) const;

At a Glance

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

See Also

CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::SelectObject