Jump to content
Sign in to follow this  
burners

XP Style colored buttons , possible?

Recommended Posts

burners

Thread says it all, I did some light searching but all I found where older threads so i didn't know if anything good has come up in the last year.

I dig the flat look for some stuff but this is a glossy looking GUI so the rounded buttons would look much better.


~~--Feel Free to Steal my Sigs --~~FLAT LOOK____________________________________ROUNDED LOOK

Share this post


Link to post
Share on other sites
monoscout999

i don`y know what you want. post a screen of the GUI wich have the button that you want.

Share this post


Link to post
Share on other sites
taietel

... but all I found where older threads so i didn't know if anything good has come up in the last year.

Did you tried the Valuater's?

There are lots of older threads that have valuable information in them (personal point of view).

Share this post


Link to post
Share on other sites
Valuater

There are a couple of answers on this....

For Buttons, you might want to take a look at ButtonHover()

Then, color the background with Skins....

http://www.autoitscript.com/forum/topic/...kin-button-choices/page__hl__b

for the actual CODE to use XP Theme...from Autoit Wrappers

; Control XP Style for Colors

; Author gafrost /Valuater

Dim $XS_n

 Func XPStyle($OnOff = 1)   
    If $OnOff And StringInStr(@OSTYPE, "WIN32_NT") Then
        $XS_n = DllCall("uxtheme.dll", "int", "GetThemeAppProperties")
        DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 0)
        Return 1
    ElseIf StringInStr(@OSTYPE, "WIN32_NT") And IsArray($XS_n) Then
        DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", $XS_n[0])
        $XS_n = ""
        Return 1
    EndIf
    Return 0
EndFunc   ;==>XPStyle

Enjoy!!

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites
rover

Take a look at the posts by Yashied in this thread

custom drawing the buttons also works, but the implementation was screwed up by MS


I see fascists...

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.