Code: Select all
Gui , New , +hwndHGUI
Gui , Add , Text , vText1, Slider1
Gui , Add , Slider, Buddy1Text1 x50 y10 w250
;Gui , Add , Button , x140 y60 w60 h23 , Button
Gui , Show , w320 h100
return
Otherwise the focus indicator has to be removed with PostMessage, 0x0128, 0x00010001, 0, , ahk_id %HGUI% ;UIS_SET << 16 | UISF_HIDEFOCUS