Jump to content

XSkin.au3... Skin your GUI


Recommended Posts

  • Replies 503
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

** UPDATED ** Jan 22, 2009 Ver 1.4.1 XSkin.au3 * Added - XSkinConsole - Plug-in * Added - XSkinTrayMenu - Plug-in * Over 40 GUI Skins! - any size you want * Mouse-Over GUI Options

XSkin.au3 Demonstration Page Basics: 1. A Skinned GUI Only 2. A Skinned GUI and Button 3. A Skinned GUI, Button and XSkinMsgBox 4. A Skinned GUI, Button and XSkinInputBox 5. A

Posted Images

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
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 by Saitoh183
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...