Programs that use controls from earlier versions of the
ImageKit:
Unfortunately, it is not possible to simply exchange the older
ImageKit controls with the new ImageKit10 ActiveX controls and run
the program. There are a number of differences between the earlier
versions of the ImageKit and the ImageKit10 that must be
considered. These differences are explained below and the
conversion from earlier versions of the ImageKit to the ImageKit10
is not at all difficult. It should be pointed out that all versions
of the ImageKit ActiveX controls can coexist within the same
application. The image handle used by the earlier versions of the
ImageKit can be passed to the ImageKit10 controls allowing you to
use the newer ImageKit10 functionality. However, the ImageKit10,
like the ImageKit9, ImageKit8 and ImageKit7 before it, does not
provide the individual controls that existed in ImageKit6 or
earlier versions. In these early versions, controls such as the
Common Control, Display Control, Effect Control, File Control,
Print Control, Scan Control, Slideshow Control were seperate
controls. These controls have been discontinued and their
functionality has been incorporated into the single ImageKit
Control. The Slideshow Control has been discontinued completely and
is no longer included in the ImageKit10 ActiveX
In programs that use the ImageKit DLL API:
To convert an existing ImageKit DLL program made from earlier
versions of the ImageKit, you simply need to change function calls
to the ImageKit10 DLL. It should be noted that in the case of
earlier ImageKit DLL programs, the image handles passed into the
DLL functions and returned as results of these functions are
automatically freed by the ImageKit10 DLLs. However, the ImageKit10
is unable to automatically free the image handles from the
ImageKit5 and these must be freed manually.
ImageKit5
(1) Property name changes (ImageKit5 ->
ImageKit10 ActiveX)
Thumbnail
control
Hwnd -> HWND
(2) Event argument changes (ImageKit5
-> ImageKit10 ActiveX)
Thumbnail
control
SelectFile event
(3) Other
Property type changes: For details, please refer to
[Difference with ImageKit5], [Difference
with ImageKit5 / 6] , [Difference with ImageKit5 /
6/7/8 ActiveX] in Reference.
ImageKit6
(1) Property name changes (ImageKit6 ->
ImageKit10 ActiveX)
Thumbnail
control
ForeColorUp -> ForeColor
Hwnd -> HWND
MouseCursor -> SelectMouseCursorFile
MouseCursorTypeFile -> MouseCursorFile
PictureUp -> Picture
PictureUpFile -> PictureFile
(2) Specification changes: The orientation
of the displayed image may be different due to the addition of the
Thumbnail control's ExifAutoRotate property. Set the ExifAutoRotate
property to False for the same behavior as the old ImageKit. Change
the trigger condition of MouseMoveOnThumb event of thumbnail
control. For details, refer to [Difference with ImageKit6 /
7/8/9 ActiveX] in Reference.
(3) Other: Changed some constant names and
property types. For details, please refer to [Difference
with ImageKit5 / 6] [Difference with ImageKit5 / 6/7/8 ActiveX]
[Difference with ImageKit6] [Difference with ImageKit6 / 7/8
ActiveX] in Reference.
ImageKit7
(1) Property changes (ImageKit7 ActiveX
-> ImageKit10 ActiveX)
ImageKit
control
Refine1BitImage -> StretchMode
RefineColorImage -> StretchMode
PanWindow.RefineImage -> StretchMode
(2) Property name changes (ImageKit7
ActiveX -> ImageKit10 ActiveX)
ImageKit
control
Hwnd -> HWND
Thumbnail
control
ForeColorUp -> ForeColor
Hwnd -> HWND
PictureUp -> Picture
PictureUpFile -> PictureFile
(3) Method changes (ImageKit7 ActiveX
-> ImageKit10 ActiveX)
ImageKit
control
Display -> DisplayImage
(4) Specification changes: Due to the
addition of the ImageKit control's File.ExifAutoRotate property and
the thumbnail control's ExifAutoRotate property, the orientation of
the displayed image may be different. Set the ExifAutoRotate
property to False for the same behavior as the old ImageKit. Change
the trigger condition of MouseMoveOnThumb event of thumbnail
control. For details, refer to [Difference with ImageKit6 /
7/8/9 ActiveX] in Reference.
(5) Other: Changed extension or property
typez / method argumentz and return typez. For details, please
refer to [Difference with ImageKit6 / 7/8 ActiveX]
[Difference with ImageKit7 ActiveX] [Difference with ImageKit7 / 8
ActiveX] [Difference with ImageKit7 / 8/9 ActiveX].
ImageKit8 ActiveX
(1) Change the property name (ImageKit8
ActiveX -> ImageKit10 ActiveX)
ImageKit
control
Hwnd -> HWND
Thumbnail
control
ForeColorUp -> ForeColor
Hwnd -> HWND
PictureUp -> Picture
PictureUpFile -> PictureFile
(2) Specification changes: Due to the
addition of the ImageKit control's File.ExifAutoRotate property and
the thumbnail control's ExifAutoRotate property, the orientation of
the displayed image may be different. Set the ExifAutoRotate
property to False for the same behavior as the old ImageKit. Change
the trigger condition of MouseMoveOnThumb event of thumbnail
control. For details, refer to [Difference with ImageKit6 /
7/8/9 ActiveX] in Reference.
(3) Other: Changed property types / method
arguments and return types. For details, please refer to
[Difference with ImageKit7 / 8 ActiveX] [Difference with
ImageKit7 / 8/9 ActiveX] [Difference with ImageKit8
ActiveX] in Reference.
ImageKit9 ActiveX
(1) Specification changes: Due to the
addition of the ImageKit control's File.ExifAutoRotate property and
the thumbnail control's ExifAutoRotate property, the orientation of
the displayed image may be different. Set the ExifAutoRotate
property to False for the same behavior as the old ImageKit. Change
the trigger condition of MouseMoveOnThumb event of thumbnail
control. For details, refer to [Difference with ImageKit6 /
7/8/9 ActiveX] in Reference.
(2) Other: For details, please refer to
[Difference with ImageKit7 / 8/9 ActiveX] [Difference with
ImageKit9 ActiveX] in Reference.