Jump to content
Sign in to follow this  

XSkin.au3... Skin your GUI

Recommended Posts

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 specifications

Func 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
  $XS_gui[$XS_TMA] = GUICreate($XS_guiTitle, $XS_width, $XS_height, -1, -1, $guiHeader2) ; Original

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 by Saitoh183

Share this post

Link to post
Share on other sites

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

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...