Tutorial for Visual C++ 4.0 Programmers

The following topics provide brief and simple examples to help you learn how to use the LEADTOOLS ActiveX. Note that the ActiveX requires the MFC 4.2 files, which are described in System Files Updated.

Implementing the LEADTOOLS ActiveX in Visual C++ 4.0 and later is much different than with earlier versions of Visual C++. These instructions were developed with versions 4.0, 4.2, or 5.0 and were tested with version 5.0.

For general information about the syntax requirements of this interface, refer to Visual C++ 4.0 Syntax.

Note: These tutorial examples are intended to be easy to understand and easy to test. The example programs in the EXAMPLES subdirectory provide more in depth design and more detailed code.

Loading and Displaying an Image

Loading and Saving Images Using Databases

Zooming Out and Zooming In


Dynamically Positioning the Control

Zooming In on a Selection


Outlining, Dragging, and Pasting a Region

Creating and Using Annotations

Loading and Saving Annotations Using Databases


Using ODBC to Access Image Data


Printing Multiple Images

Writing and Reading Multipage Files


Using Transparent Controls

Drawing Simple Lines and Shapes

Cropping a Bitmap

Creating, Viewing, and Merging Color Separations

Updating a Gauge and Detecting a User Interrupt

Creating an MDI Application

Using the Magnifying Glass

 

Using a PanWindow

Print a Real Image Size in Inches

Combining Images with Regions

Miscellaneous Examples