VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Ever wondered how to fill a region of a picture?

by Tanner Helland (4 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

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?

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

Download Ever wondered how to fill a region of a picture? (4 KB)

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

No comments have been posted about Ever wondered how to fill a region of a picture?. Why not be the first to post a comment about Ever wondered how to fill a region of a picture?.

Post your comment

Subject:
Message:
0/1000 characters