Here is an example (complete) script:
Gui, Add, Tab2, vvar1 Hwndwnd1, This|That OutputDebug % "var1 = " var1 OutputDebug % "wnd1 = " wnd1 Gui, Add, ListView, vvar2 Hwndwnd2, Mine|Yours OutputDebug % "var2 = " var2 OutputDebug % "wnd2 = " wnd2 Gui ShowThe code works, the gui shows nicely. But...
And here is the output:
 var1 =
 wnd1 = 0x1e087c
 var2 =
 wnd2 = 0x2c0878
I swear I was getting values just yesterday for the control variable
Any ideas on how I could have managed to lose control variables?