This documentation is archived and is not being maintained.

CDC::GetCurrentBrush

Returns a pointer to the currently selected CBrush object.

CBrush* GetCurrentBrush( ) const;

Return Value

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

Remarks

This member function may return temporary objects.

See Also

CDC Overview | Class Members | Hierarchy Chart | CDC::SelectObject | GetCurrentObject

Show: