CStatusBarCtrl::DrawItem

Visual Studio 6.0

CStatusBarCtrl::DrawItem

virtual void DrawItem( LPDRAWITEMSTRUCT lpDrawItemStruct );

Parameters

lpDrawItemStruct

A long pointer to a https://msdn.microsoft.com/en-us/library/bb775802(v=vs.60).aspx structure that contains information about the type of drawing required.

Remarks

Called by the framework when a visual aspect of an owner-draw status bar 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 CStatusBarCtrl object.

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

CStatusBarCtrl OverviewClass MembersHierarchy Chart

See Also   CWnd::OnDrawItem

Show: