CTabCtrl::DrawItem

void DrawItem( LPDRAWITEMSTRUCT lpDrawItemStruct );

Parameters

lpDrawItemStruct

A pointer to a DRAWITEMSTRUCT structure describing the item to be painted.

Remarks

Called by the framework when a visual aspect of an owner-draw tab control changes. The itemAction member of the DRAWITEMSTRUCT structure defines the drawing action that is to be performed.

By default, this member function does nothing. Override this member function to implement drawing for an owner-draw CTabCtrl object.

The application should restore all graphics device interface (GDI) objects selected for the display context supplied in lpDrawItemStruct before this member function terminates.

CTabCtrl OverviewClass MembersHierarchy Chart

See Also   CWnd::OnDrawItem