Jump to content

XP Style colored buttons , possible?


 Share

Recommended Posts

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

Link to comment
Share on other sites

... 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).

Link to comment
Share on other sites

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

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...