CDC::GetCurrentPen

CPen* GetCurrentPen( ) const;

Return Value

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

Remarks

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

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::SelectObject, ::GetCurrentObject