<< Return to Main Index

< Return to Class Index

CGXDateTimeCtrl::DrawStaticGadget

DrawStaticGadget(CDC* pDC, CGXDTStaticGadget* pGadget, CRect rectClip);

pDC

Pointer to the device context.

pGadget

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

rectClip

The control clipping rect.

Remarks

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

See Also

CGXDateTimeCtrl::DrawSpinGadget CGXDateTimeCtrl::DrawNumericGadget CGXDateTimeCtrl::DrawButtonGadget CGXDateTimeCtrl::DrawListGadget

CGXDateTimeCtrl

Class Overview | Class Members