Jump to content

XSkin.au3... Skin your GUI


Valuater
 Share

Recommended Posts

I am sure it will work if you disable both

GUICtrlSetState($Cancel , $GUI_DISABLE)

GUICtrlSetState($Cancel +`1, $GUI_DISABLE)

...

$color is the color of the text... try this for red text

$Cancel = _HoverButton("Cancel", 59, 325, 230, 30, 0xff0000)

8)

NEWHeader1.png

Link to comment
Share on other sites

I am sure it will work if you disable both

GUICtrlSetState($Cancel , $GUI_DISABLE)

GUICtrlSetState($Cancel +1, $GUI_DISABLE)

8)

I tried this too and only the text is disabled. The button still change color when my mouse is over it.

... :rolleyes:

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

#Include <XSkin.au3> 

; folder of skin
$XSkin_Folder = @ScriptDir & "\Skins\Noir\"

$XSkinGui = XSkinGUICreate( "My GUI", 400, 450, $XSkin_Folder)

GUISetState()

While 1
    Sleep(10)
WEnd

It doesnt work on 3.2.7.0 or 3.2.6.0. The directory is correct.

Whoops, my bad. The dir was wrong. Forgot a \

Although XSkin wont work if there are still controls that are not skinned.

Edited by JamesB
Link to comment
Share on other sites

#Include <XSkin.au3> 

; folder of skin
$XSkin_Folder = @ScriptDir & "\Skins\Noir\"

$XSkinGui = XSkinGUICreate( "My GUI", 400, 450, $XSkin_Folder)

GUISetState()

While 1
    Sleep(10)
WEnd

It doesnt work on 3.2.7.0 or 3.2.6.0. The directory is correct.

Whoops, my bad. The dir was wrong. Forgot a \

Although XSkin wont work if there are still controls that are not skinned.

There is no code included that shows the controls you are talking about

???

8)

PS... Glad you found your first problem

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

#Include <XSkin.au3>

; folder of skin
$XSkin_Folder = @ScriptDir & "\Skin\Noir\"

$XSkinGui = XSkinGUICreate( "My GUI", 400, 450, $XSkin_Folder)
GUICtrlCreateButton("TEST", 1, 10)

GUISetState()

While 1
    Sleep(10)
WEndoÝ÷ Ù+kjx¶­Âä±»­Â+a'(uë$yâ
'¶P¬jz ¡hZ¶X¦Ö­ìj·­êÞHv'ZºÚ"µÍÒÚ[ÝZPÜX]JUKÒQRQÒKÒÒS

Edited by JamesB
Link to comment
Share on other sites

Nice! Thanks Val. You should add an option in the Skin.dat file to specifiy round corners.

Welcome!!!

The "round corners" are created with the GUI

$XSkinGui = XSkinGUICreate( $guiTitle, $guiWidth, $guiHeight, $Skin_Folder, $guiHeader, $guiCorners)

or $XSkinGui = XSkinGUICreate( $guiTitle, $guiWidth, $guiHeight, $Skin_Folder) ; uses defaults

8)

NEWHeader1.png

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...