ImgControl_Initialize

Initialize a ImgControl form object.
ImgControl_Initialize(controlName; areaName{; handlerMethod}) ➔ success
controlName Text The name of the ImgControl form object.
areaName Text The name of the ImgArea plug-in area.
handlerMethod Text The message handler method.
success Longint Completion status: 1 on success, 0 otherwise.

Initialize a ImgControl form object.

This method must be called before any other calls to an ImgControl instance in order to set up the widget’s internal context and bind it to the plug-in area. Must be balanced with a call to ImgControl_Finalize for cleanup.

Typically called during the On Load event of the host form.

The names of the ImgControl` and ImgArea form objects are specified by the controlName and areaName parameters respectively.