Code: Select all
gui, add, progress, xm+40 w100 h100 Background0xa0a0a0 disabled
gui, add, tab2, xm ym+10 w300 h200, Tab one|Tab two
gui, show
Code: Select all
gui, add, progress, xm+40 w100 h100 Background0xa0a0a0 disabled
gui, add, tab2, xm ym+10 w300 h200, Tab one|Tab two
gui, show
Code: Select all
#SingleInstance Force
#NoEnv
SetWorkingDir %A_ScriptDir%
SetBatchLines -1
Gui, Add, Progress, hWndhPrg xm+40 w100 h100 Background0xa0a0a0 Disabled
Gui, Add, Tab3, hWndhTab xm ym+10 w300 h200, Tab one|Tab two
Gui, Show
SendMessage 0xB, 0, 0,, ahk_id %hPrg% ; WM_SETREDRAW
WinSet Redraw,, ahk_id %hTab%
DllCall("SetWindowPos", "Ptr", hTab, "Ptr", 0, "Int", 0, "Int", 0, "Int", 0, "Int", 0, "UInt", 0x3)
Return
GuiEscape:
GuiClose:
ExitApp
Users browsing this forum: skeerrt and 155 guests