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


CControlBar::DoPaint

Called by the framework to render the borders and gripper bar of the control bar.

virtual void DoPaint(
   CDC* pDC 
);

Параметры

  • pDC
    Points to the device context to be used for rendering the borders and gripper of the control bar.

Заметки

Override this function to customize the drawing behavior of the control bar.

Another customization method is to override the DrawBorders and DrawGripper functions and add custom drawing code for the borders and gripper. Because these methods are called by the default DoPaint method, an override of DoPaint is not needed.

Требования

Header: afxext.h

См. также

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

CControlBar Class

CControlBar Members

Hierarchy Chart

CControlBar::DrawBorders

CControlBar::DrawGripper