Valuater 138 Posted October 14, 2011 Author Share Posted October 14, 2011 Added/Changed WinGetHandle(AutoItWinGetTitle()) to use the Autoit Window as the parent 8) Link to post Share on other sites
Saitoh183 0 Posted October 14, 2011 Share Posted October 14, 2011 (edited) doesnt seem to work Error i get when activating Compact mode C:\Program Files (x86)\AutoIt3\Include\xskin.au3 (380) : ==> Subscript used with non-Array variable.: $XS_ret = DllCall("gdi32.dll", "long", "CreateRoundRectRgn", "long", $i_x1, "long", $i_y1, "long", $XS_pos[2], "long", $XS_pos[3], "long", $i_x3, "long", $i_y3) $XS_ret = DllCall("gdi32.dll", "long", "CreateRoundRectRgn", "long", $i_x1, "long", $i_y1, "long", $XS_pos^ ERROR With WinGetHandle(AutoItWinGetTitle() it works Changes i made per your specificationsFunc XSkinGUICreate($XS_guiTitle, $XS_width, $XS_height, $Skin_Folder, $guiHeader = 1, $guiCorners = 25, $X_Parent = "") If $X_Parent Then $XS_gui[$XS_TMA] = GUICreate($XS_guiTitle, $XS_width, $XS_height, -1, -1, $guiHeader2, Default, WinGetHandle(AutoitWinGetTitle())) ; hide from taskbar Else $XS_gui[$XS_TMA] = GUICreate($XS_guiTitle, $XS_width, $XS_height, -1, -1, $guiHeader2) ; Original EndIf Changes i made in my script: $TRH_GUI = XskinGUICreate("TRHelper", 414, 363, $skinfolder,1,25,"") ; Main GUI $prog_gui = XSkinGUICreate("TRHelper Progress Bar", 290, 125, $skinfolder,1,25,1) ; Compact mode Also i dont know if its because of the _GDIPlus_Startup() but the script takes long to show the gui since changes <=== Still a problem Seemed to be a PC issue...rebooted and its normal now Edited October 14, 2011 by Saitoh183 Link to post Share on other sites
Valuater 138 Posted October 15, 2011 Author Share Posted October 15, 2011 Awesome... Love it when a plan comes together... and the problems disappear!!! 8) Link to post Share on other sites
Saitoh183 0 Posted October 15, 2011 Share Posted October 15, 2011 indeed...but i posted another issue...i dont know if its related to Xskin or __buttonhoverTag but its the last problem i have and i think this script will be ready. i just cant figure it out Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now