Поделиться через


CStatusBar::DrawItem

This member function is called by the framework when a visual aspect of an owner-drawn status bar changes.

virtual void DrawItem(
   LPDRAWITEMSTRUCT lpDrawItemStruct 
);

Параметры

  • lpDrawItemStruct
    A pointer to a DRAWITEMSTRUCT structure that contains information about the type of drawing required.

Заметки

The itemAction member of the DRAWITEMSTRUCT structure defines the drawing action that is to be performed. Override this member function to implement drawing for an owner-draw CStatusBar object. The application should restore all graphics device interface (GDI) objects selected for the display context supplied in lpDrawItemStruct before the termination of this member function.

Требования

Header: afxext.h

См. также

Основные понятия

CStatusBar Class

CStatusBar Members

Hierarchy Chart

CWnd::OnDrawItem