Page 1 of 1

Drawing transparent boxes

Posted: 1 Mar 2006 19:35
by Steve Lympany
The attached project shows a method for
a) drawing 'transparent' boxes
b) drag and drop rectangles

Posted: 2 Mar 2006 8:24
by Yuri Ilyin
Yes. It is interesting.
Another way of drawing something transparent is to draw this as "background".
I.e. inside onPaint first draw boxes and then draw text and lines

Posted: 2 Mar 2006 11:14
by Steve Lympany
Hi Yuri,
Yes, my method generates lots of pictures (vpi::pictGetFromWin), which might make the gc sweat a bit on slow computers - maybe?. It was the transparent "drag" across a complex background that I was initially trying to achieve.
cheers
Steve