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.
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