create fill

01-13-2005, 04:21 AM
Hello Everybody!
I am a High School student and am new to VB graphics methods.
Can anyone plz tell me how do I create the fill-bucket?
I have tried using the api function from the net.. But the diff. fillstyles won't
work . (possible??)
Also, after using the fill tool, all the circle and squares get filled with black
which is a nuisance.
If u can help me then I will be very thankful :-)


01-13-2005, 10:40 PM
Welcome to the forum.
It will be better to show the code here.

01-14-2005, 11:56 PM
Hopefully this isn't a homework assignment...

But anyway you don't need api functions to use different fillstyles...
Check out the zip attachment to this post:

Although it doesn't show how to floodfill an irregular area, it does demo the DrawStyles and FillStyles available in VB.

And if you type:

vb floodfill Google you will find a VBHelper page that will show you how to use the FloodFill API to fill irregular areas.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum