Jump to content

Vista Shell


Generator
 Share

Recommended Posts

  • Replies 43
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

hmm, can you maybe pm the code how I must do it :S

I got this now

#include <_ButtonHover.au3>

;Create Gui

$Main_GUI = GUICreate("_ButtonHover Demo", 500, 480)

GUISetBkColor (0x3C5C75)

$background = GUICtrlCreatePic ("Data\Skins\Welcome\Welcome Background2.jpg", 0, 0, 500, 460)

GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT)

;Create button one

$XButton_Location = "Data\Skins\Welcome"

$color = ""

If StringInStr($XButton_Location, "15") Then $color = 0xFFFFFF

$knp = _HoverButton ("", 0, 460, 50, 20, $color)

;But if I do now the second button I see the button from the first chosen one.

;by this second button see I the button from the first one

$XButton_Location2 = "Data\Skins\button"

$color2 = ""

If StringInStr($XButton_Location2, "15") Then $color2 = 0xFFFFFF

$knp2 = _HoverButton ("", 0, 460, 50, 20, $color2)

and that is why it don't works :S

can you help me?

Edited by peter123
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...