Hey,
I like this UDF
But i have a Problem with this UDF.
If you for example have an error in your Script:
global $error[1]
$error[5] = 4
AutoitIT and Scite shows this error as soon as it hits this script line.
if you put the above error right after:
_GUICtrlTreeViewTab_CreateTab
and run the Script. Autoit Hangs/Crashes with no error information.
I have a larga Script and its hard to find simple mistakes like this.
I have to uncomment:
$ah_TVT_WinProc[$ah_TVT_WinProc[0][0]][1] = _WinAPI_SetWindowLong($hParent, $GWL_WNDPROC, DllCallbackGetPtr($h_TVT_WinCallback_Proc))
in the "_GUICtrlTreeViewTab_CreateTab" function. Then Autoit Shows me the error like it should. But switching "tabs" is not possible then.
Anyone has an idea what is causing autoit not to show errors after "_GUICtrlTreeViewTab_CreateTab" ?