Accusoft ImagXpress 12
DestroyCtlWindow Method
See Also  Send comments on this topic.
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : DestroyCtlWindow Method

Glossary Item Box

Description

Destroys the ImagXpress Control Window.

Syntax

Visual Basic
Public Sub DestroyCtlWindow() 

Remarks

  • When an ImagXpress control is instantiated as an ActiveX control, the controls Window is automatically created and destroyed by the ActiveX framework. It is not necessary to use the CreateCtlWindow and DestroyCtlWindow Methods when using the ActiveX component.
  • When ImagXpress is used as a COM object, the ActiveX is not invoked, therefore the COM object is instantiated without a Window. If a Window is desired, the CreateCtlWindow method must be invoked to create the objects window. Each call to CreateCtlWindow must be paired with a call to DestroyCtlWindow prior to destroying the object.
  • When using the ImagXpress COM object in VC++ or CBuilder with the supplied include files in the VC++ sample directory, CreateCtlWindow gets called in the objects constructor in ImagXpressEvents10.h (see Importing ImagXpress as a COM Object in VC++ and C++ Builder topic) and the Window gets destroyed in the objects destructor.
  • When using the ImagXpress COM object in other environments, you must manually invoke CreateCtlWindow and DestroyCtlWindow. See the COM Object sample in the VB Samples directory for an example.

It is not necessary to use the CreateCtlWindow and DestroyCtlWindow Methods when using the ActiveX component.

See Also

©2013. Accusoft Corporation. All Rights Reserved.