<< Return to Main Index

< Return to Class Index

CGXDateTimeCtrl::DrawListGadget

DrawListGadget(CDC* pDC, CGXDTListGadget* pGadget, CRect rectClip);

pDC

Pointer to the device context.

pGadget

Pointer to a CGXDTListGadget that is used to render the list gadget.

rectClip

The control clipping rect.

Remarks

Renders a list gadget to an arbitrary device context. This is used to draw the list gadgets in an inactive state. The code for drawing the list 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::DrawNumericGadget CGXDateTimeCtrl::DrawButtonGadget CGXDateTimeCtrl::DrawStaticGadget

CGXDateTimeCtrl

Class Overview | Class Members