ControlPaint.DrawScrollButton - need this to work with visaul styles
Posted on 2007-11-19
I'm overriding the DateTimePicker to add some features, this involves me manually drawing the control.
When I initially draw, it displays fine, I'm using
ControlPaint.DrawScrollButton (for the drop-down on the right)
ControlPaint.DrawCheckBox (if it has the ShowCheckBox property set)
It draws the scroll button on the right (the drop-down), in the default style, but when I click on the drop-down, the control itself draws the 3d version (coming from windows themes).
Is there a way of either drawing the ScrollButton in 3d, or disabling the automatic drawing of the button when clicked ?