VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Auto form shap

WXJ_Lake  (3 Submissions)   Graphics   Visual Basic 3.0   Advanced   Wed 3rd February 2021

You just need to set a background picture for the form and specify a transparent color, and then the progrm will make up all for you. It will scan the picture, get rid of the transparent color pixels,generate rect region for every line and combine them. Finally the form will be set to exactly the same shap as the picture outline. Don't worry abuot the speed, it's always less than 1sec (but don't tell me you are running win95 on 486 ^_^).

Note it only support 8bits bitmap now, if you want to extend the program's ability, please reference the MSDN for discuss about pixel format. There are also some win2k api declaration included for making translucent form, just remove the relevant code if you don't need the effect or dont't have a win2k.

----------------------------------------

Hello man, i have updated this program to support every pixel formats, taking the advantage of the windows DIB. Special thanks www.vbaccelerator.com for their great class - "cDIBSection.cls".

Rate Auto form shap (29(29 Vote))

Download Auto form shap

Auto form shap Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters