Sign in to follow this  
Followers 0
personoid

Skin Problem

5 posts in this topic

#1 ·  Posted (edited)

I've used the skin UDF posted by Valuater.

I've run into three problems, but only two are AutoIt related so I'll leave the other one out.

So, I've made my skin and everything, but i can't get the close button to show up.

Edit: The reason the title wouldn't show up is that i had the option set wrong. However, showing the title makes my skin mess up.

I'll get around that by adding a label to be used as the title bar.

Here's the Skin.dat file.

[Info]
Title = DarkCian
Author = Personoid

[color]
background=0x454545
Button=0x147d96
mouseover=0x147d96
fontcolor=0x147d96

[settings]
size=20

[icon]
style=cross1
Isize=15
adjustleft=1
adjustdown=1

$Skin_Folder = @ScriptDir & "\Skins\DarkCian" 
;Unrelated Code

$XSkinGui = XSkinGUICreate( "My GUI", 300, 150, $Skin_Folder, 1, 0) 
GUISetBkColor(0x000000) 
$XIcon = XSkinIcon($XSkinGui, 1)

Thanks in advance.

Edited by PersonoidxX

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I think it might be a problem with XSkin. A tiny problem. Look at XSkin.au3. Find out what the value of $Icon_Folder is. For me, it was blank. To fix this, at the top, when $Icon_Folder is declared, make it equal @ScriptDir. I think that should fix the problem. Also check the Skin.dat file. In one of mine, there was a semicolon in front of one of the lines which messed up XSkin

Edit: If you still can't fix it, PM Valuater. Valuater will be happy to help you.

Edited by dantay9

[font="Verdana"] [size="2"]"[/size][/font]Failure is not an option -- it comes packaged with Windows"[font="Verdana"][size="2"] Gecko Web Browser[/size][/font][font="Verdana"][size="2"], [/size][/font][font="Verdana"][size="2"]Yahtzee![/size][/font][font="Verdana"][size="2"], Toolbar Launcher (like RocketDock)[/size][/font][font="Verdana"][size="2"]Internet Blocker, Simple Calculator, Local Weather, Easy GDI+ GUI [/size][/font][font="Verdana"][size="2"]Triangle Solver, TCP File Transfer, [/size][/font][font="Verdana"][size="2"]Valuater's Autoit Wrappers[/size][/font][font="Verdana"][size="3"][size="2"][size="2"]OOP In AutoIt[/size][/size][/size][/font][font="Verdana"][size="2"][size="1"]Using Windows XP SP3, 1GB RAM, AMD Athlon Processor @ 2.1 GHzCheck me out at gadgets.freehostrocket.com[/size][/size][/font]

Share this post


Link to post
Share on other sites

I think it might be a problem with XSkin. A tiny problem. Look at XSkin.au3. Find out what the value of $Icon_Folder is. For me, it was blank. To fix this, at the top, when $Icon_Folder is declared, make it equal @ScriptDir. I think that should fix the problem. Also check the Skin.dat file. In one of mine, there was a semicolon in front of one of the lines which messed up XSkin

Edit: If you still can't fix it, PM Valuater. Valuater will be happy to help you.

Thank you. Thanks to your tip about the dat file, i now have the space for the icon up.

I still don't have the icon showing up and i don't have the title. I believe my dat file is right now. [The comments were throwing it off.]

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Immediately, I can see a 'possible' problem here...

style=cross1

Isize=15

adjustleft=1

adjustdown=1

if the size = 15, then the MINIMUM the adjust can be is 15 AFAIK

try adjusting those two numbers and see what happens

adjustleft=15

adjustdown=15

... also AFAIK, there is no error in XSkin regarding this

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Thanks. I've discovered that it was indeed my error.

I edited a different skin and it has the same problem. So that means it's my fault. lol.

Thanks, again.

Edit: On second check, the error also exists in the noir file. it should be calling bluebox1.bmp as the exit icon.

Instead it calls a blue tinted box with no background.

Edited by PersonoidxX

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