<< Return to Main Index

< Return to Class Index

CGXDateTimeCtrl::DrawButtonGadget

DrawButtonGadget(CDC* pDC, CGXDTButtonGadget* pGadget, CRect rectClip);

pDC

Pointer to the device context.

pGadget

Pointer to a CGXDTButtonGadget that is used to render the button gadget.

rectClip

The control clipping rect.

Remarks

Renders a button gadget to an arbitrary device context. This is used to draw button gadgets in an inactive state. The code for drawing the buttons is essentially the same as in the base CGXBDateTimeCtrl class.

See Also

CGXDateTimeCtrl::DrawSpinGadget CGXDateTimeCtrl::DrawNumericGadget CGXDateTimeCtrl::DrawListGadget CGXDateTimeCtrl::DrawStaticGadget

CGXDateTimeCtrl

Class Overview | Class Members