CGXDateTimeCtrl::DrawNumericGadget

DrawNumericGadget(CDC* pDC, CGXDTNumericGadget* pGadget, CRect rectClip);

pDC

Pointer to the device context.

pGadget

Pointer to a CGXDTNumericGadget that is used to render the numeric gadget.

rectClip

The control clipping rect.

Remarks

Renders a numeric gadget to an arbitrary device context. This is used to draw the numeric gadgets in an inactive state. The code for drawing the numeric gadget is essentially the same as in the base CGXBDateTimeCtrl class. There are some grid-specific variations that help improve drawing performance (like the use of GXDrawTextLikeMultiLineEdit).

See Also

 CGXDateTimeCtrl::DrawSpinGadget  CGXDateTimeCtrl::DrawListGadget  CGXDateTimeCtrl::DrawButtonGadget  CGXDateTimeCtrl::DrawStaticGadget

CGXDateTimeCtrl

 Class Overview |  Class Members