AutoIt - AutoItScript
Exontrol.COM Software - Frequently Asked Questions
AIT.0:
In AutoIt 32-bit you can use any of the following versions:
  • /COM indicates the 32-bit edition of the ActiveX version

The application built using /COM version runs on any Windows 32 or 64-bit machine.

In AutoIt 64-bit you can use any of the following versions:

  • /COM/64 indicates the 64-bit edition of the ActiveX version

The application built using /COM/64 version runs on Windows 64-bit machine only. The application built using /COM/64 version cannot run on Windows 32-bit machine.

If you want to use your application on 32 and 64-bit machines, you can go for:

  • /COM/ANY indicates the 32 and 64-bit editions of the ActiveX versions

Should I use a 32-bit or 64-bit version of the control?

AIT.1:
The AutoIt IDE removes the WS_CLIPCHILDREN window style when creating the component. The WS_CLIPCHILDREN window style excludes the area occupied by child windows when drawing occurs within the parent window. The AutoIt documentation of GUICtrlCreateObj methods says: "'Document Objects' will only be visible if the Windows style $WS_CLIPCHILDREN has been used in GUICreate().".

The following script shows how you can add the WS_CLIPCHILDREN and WS_CLIPCHILDREN styles to the form and the component itself.

$gui_width = 500
$gui_height = 500
$gui = guicreate("TEST", $gui_width, $gui_height, default, default, bitor($GUI_SS_DEFAULT_GUI, $ws_clipchildren, $ws_clipsiblings))
guisetstate()
$obj_gantt = objcreate("Exontrol.Gantt.1")
$gantt_control = GUICtrlCreateObj($obj_gantt, 20, 20, $gui_width - 40, $gui_height - 40)
guictrlsetstyle($gantt_control, $ws_clipchildren + $ws_clipsiblings)

The guictrlsetstyle method adds the WS_CLIPCHILDREN and WS_CLIPCHILDREN styles to the component itself, so the black area will not be displayed anymore.

Thanks to Jonah Coleman, Fletcher Wood Products, Inc who submitted the note. This note is related to AutoIT3