Sign in to follow this  
Followers 0
lolp1

How would I convert this to Xskin?

2 posts in this topic

Using the Xskin UDF, I couldn't seem to find Xskin features for these (I am probably blind..)

GuiCtrlCreateInput

GUICtrlCreateLabel

Is there Xskin replacements for these?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

from....

XSkin.au3 Demonstration Page

Intermediate:

1. A Skinned GUI, Icon and MouseOver ( color )

#include <XSkin.au3>

Dim $XskinID[2] ; the count to Mouseover + 1

; the two following folders are seperate for building skins
; however in YOUR program put them in the same folder
; folder of skin
$Skin_Folder = @ScriptDir & "\Skins\Black-Yellow"
; icon folder
$Icon_Folder = @ScriptDir & "\Skins\Default"

$XSkinGui = XSkinGUICreate( "My GUI", 400, 450, $Skin_Folder)
$XIcon = XSkinIcon($XSkinGui, 3)

$XSkinID[1] = GUICtrlCreateLabel(" This is a Mouse-Over color test", 120, 150, 150, 20)

$label = GUICtrlCreateLabel(" This is the theme button color", 120, 200, 150, 20)
GUICtrlSetBkColor( $label, $btn_color) ; see example of theme uses in XSkin.au3

GUISetState()


While 1
    MouseOver()
    $msg = GUIGetMsg()
   
    If $msg = $XIcon[1] Then Exit
    If $msg = $XIcon[2] Then GUISetState(@SW_MINIMIZE)
    If $msg = $XIcon[3] Then MsgBox(0,0,"help",1)
   
WEnd

There are no actual xskin labels or inputs... there is just mouse over color for controls with an ID of..

$XSkinID[#]

8)

Edited by Valuater

NEWHeader1.png

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  
Followers 0