Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CDC::GetCurrentPen
Collapse the table of content
Expand the table of content

CDC::GetCurrentPen

Returns a pointer to the currently selected CPen object.

CPen* GetCurrentPen( ) const;

Pointer to a CPen object, if successful; otherwise NULL.

This member function may return temporary objects.

Header: afxwin.h

Show:
© 2015 Microsoft