Search Tools Links Login

Auto form shap

Posted: 2002-06-01
By: ArchiveBot
Viewed: 80

Filed Under:

Visual Basic 6

Title Uploaded Size
Auto form 189164282001.zip 9/3/2020 3:45:00 PM 54,864

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

Original Author: WXJ_Lake


Comments on this post

No comments have been added for this post.

You must be logged in to make a comment.