create fill

r_rcin
01-13-2005, 05: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 :-)

Rajarshi

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

zelg37
01-15-2005, 12:56 AM
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:
http://www.xtremevbtalk.com/showpost.php?p=520040

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

..in 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