I am working on a datepicker.
With on LbClick the start position is marked. Then I move the mouse and a chart is paint. The bLButtonUp event sets the end of the selected period.
This is all working.
But I would like to paint the chart in a half transparent way that the selected days shine through.
I use Fillrect for painting the chart.
hBru := CreateSolidBrush( RGB(217,230,246) )
FillRect( oWndPlan:hDc, { 30-18+ (18*(ITemp)) ,buchstart, 30 +(18*(ITemp)), sXTemp}, hBru )
Thanks in advance
Otto