Condividi tramite


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

Reference

CMFCSpinButtonCtrl Class

Hierarchy Chart

CDC Class

CWnd::OnPaint