VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Ever wondered how to fill a region of a picture?

Tanner Helland  (4 Submissions)   Custom Controls/Forms/Menus   Visual Basic 3.0   Beginner   Wed 3rd February 2021

This cool little program demonstrates a basic painting program as well as the hard-to-find dll call for filling a region of a picture. To use the program, all you have to do is draw a line with the left mouse button, then click with the right mouse button to fill the clicked-on area with a random color. Also, as far as I know, this may be the only VB project on the net that has the 'ExtFloodFill' dll call, so make sure to grab it!

API Declarations
Private Declare Function ExtFloodFill Lib "Gdi32" (ByVal hdc As Long, ByVal X As Long, ByVal Y As Long, ByVal crColor As Long, ByVal wFillType As Long) As Long

Rate Ever wondered how to fill a region of a picture? (5(5 Vote))

Download Ever wondered how to fill a region of a picture?

Ever wondered how to fill a region of a picture? Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters