New Version 3.15.6 (2015.12.05)
This example contains three classes. A base class that wraps the functionality of EzTwain Classic DLL, a derived class to scan into a Clarion FreeImage control, and a derived class to scan into a stock Clarion image control. There are two example projects, one illustrates how to use the FreeImage control and the other shows the use of the Clarion Image control. There's a read me file included in the archive with basic instructions.
EzTwain Classic is kindly supplied by the folks at dosadi.com.
Example of how to enumerate the displays on a multi-monitor system. This
is a hand coded example that illustrates how to call the EnumDisplayMonitors
and GetMonitorInfo Windows API Functions.
Have you ever wanted vertical progress bars? How about using progress bars and icon's on the status bar? These two classes wrap the progress bar and status bar common controls. These are the classes used in Capesoft's FeMail Clarion accessory. Both classes are supplied as source code. The archive includes two test projects. One illustrates the use of the progress bar class, the other shows how to use the status bar class.
Progress bar class features:
Status bar class features:
These classes do not require that you distribute the FreeImage.DLL and is not subject to its license restrictions. I does use some of the files distributed with the Clarion FreeImage Project
Use the Clarion FreeImage Project libraries to add alpha blended owner drawn buttons to your Clarion program. These buttons allow you to specify separate images for 4 states (normal, hot (mouse over), selected, and disabled). Only the normal state button is required all other button state images are created from the normal state for you. The buttons support all the features of a standard button control. They are standard button controls.
The really cool thing about these buttons is they allow you to make a button of any shape. You supply an image in a file format that supports alpha transparency, I suggest png, and the classy buttons class takes care of making any part of the image that's completely transparent part of the background. Areas that are semi-transparent are blended with the background.
There's a limitation in the method used to capture the background image to blend the button. Suggestions are welcome on a way to redesign the class to reference the background image. This is an alpha code release so you should only use it for testing.
The class includes a routine to calculate a Windows region from the alpha transparency of the image. This can be an expensive process for a complex image. So there's an example project that allows you to save the region file to disk. You then add these region files to your project where the class loads them from a resource.
2015-05-22 Fixed button position and added new parameter to init that acccpets any Clarion color code, omit or use Color:None for the original behavior
Have you ever wanted to have smooth scrolling text displayed in an about box, or a list of items that scrolls continuously. Use your imagination for how to put this little control to use. In the spirit of the Clarion FreeImage Project this control is also free. It makes use of some of the classes used in the Clarion FreeImage Project and is dependent on it being installed first.
This control does not require that you distribute the FreeImage.DLL and is not subject to its license restrictions.