|
-
Aug 6th, 2001, 01:40 PM
#1
Thread Starter
Hyperactive Member
Un-create solid Brush?
I'm using CreateSolidBrush API for FloodFill affect. I was using the circle method to make some circles with the center transparent. After using Floodfill the circle is always filled with the backcolor of the form. Unfortunately the Circle method appears to have the same DC as the Window it's in so if I delete the brush I can't draw anymore on the window. So how do I make the brush transparent again. I can't do this through the circle method - it won't allow it now that I have created a "solid" brush. Can anyone figure this out?
-
Aug 6th, 2001, 02:11 PM
#2
Addicted Member
Create a new transparent brush with the CreateBrushIndirect API, select it into a DC and delete the old brush.
-
Aug 6th, 2001, 06:14 PM
#3
Thread Starter
Hyperactive Member
Thanks! I'll give it a try
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|