Dela via


CMFCSpinButtonCtrl::OnDraw

Repaints the current spin button control.

virtual void OnDraw(
   CDC* pDC
);

Parameters

  • [in] pDC
    A pointer to a device context.

Remarks

The framework calls the CMFCSpinButtonCtrl::OnPaint method to handle the CWnd::OnPaint message, and that method in turn calls this CMFCSpinButtonCtrl::OnDraw method. Override this method to customize the way the framework draws the spin button control.

Requirements

Header: afxspinbuttonctrl.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCSpinButtonCtrl Class

CDC Class

CWnd::OnPaint