Here are the steps to use this class:
- Design an image in photoshop to be used as background. The background color should be RGB(0,0,64) because that is what I use on my end. Save it as bitmap.
- Create a new form or open an existing form then set its Picture property to that bitmap image
- Drag ssTransparent class and drop it into that form
- Change form's ShowWindow property into 2
And that is it, just run your form and see that portions of your form will become transparent based on the image you used as form background that are of color RGB(0,0,64). In addition to that, your form will also be movable.
Irregular transparent form, though, is good only for forms that do not need to be resized. Here is a preview of how some of my forms which are not meant to be resized look on my end. Of course, other classes inside my library is also used on other objects such as ssButton to make things look better. Can you guess simply by looking at it that this is VFP?
I am advicing everyone interested in ssClasses library to install Thor tool developed and shared to us by Jim Nelson because after you set it up at an interval to automatically check for latest versions of whatever tools are on your end, then it will auto-download updates for you and that will include ssClasses library in the future.