<< Return to Main Index

< Return to Class Index

CGXDateTimeCtrl::DrawSpinGadget

DrawSpinGadget(CDC* pDC, CGXDTSpinGadget* pGadget, CRect rectClip);

pDC

Pointer to the device context.

pGadget

Pointer to a CGXDTSpinGadget that is used to render the spin gadget.

rectClip

The control clipping rect.

Remarks

Renders a spin gadget to an arbitrary device context. This is used to draw the spin gadgets in an inactive state. The code for drawing the spin gadget is essentially the same as in the base CGXBDateTimeCtrl class. You can specify whether the spin gadget should be rendered in the inactive state with m_InactiveDrawSpin.

See Also

CGXDateTimeCtrl::DrawListGadget CGXDateTimeCtrl::DrawNumericGadget CGXDateTimeCtrl::DrawButtonGadget CGXDateTimeCtrl::DrawStaticGadget

CGXDateTimeCtrl

Class Overview | Class Members