Jump to content

vista gui


Muscle
 Share

Recommended Posts

Hi!

I want to make a gui which doesn´t has the standard windows icons,...

How could I make a guy like that?

I mean the black title bar.

Is that possibly with autoit?

Sorry for bad english.

Muscle

vista gui

post-19383-1176346751_thumb.jpg

vista gui - close button active

post-19383-1176346756_thumb.jpg

Edited by Muscle
Link to comment
Share on other sites

thanks, i will try.

but how to make the change of the close button (=> gets red)

muscle

this is an function i used some time ago to make a butten with diffrent picture's when you click and hover over the butten.

you might find it usefull

func buttoncheck($gui_name,$Button_name)
    if WinActive($gui_name) then
            $mousepos = GUIGetCursorInfo()
        if $mousepos[4] = $Button_name and $ispic = 0 then
            GUICtrlSetImage($Button_name,"Button_Hover.jpg")
            $ispic = 1
        EndIf
        While $mousepos[2] = 1  and $ispic = 1
            GUICtrlSetImage($Button_name,"button_pressd.jpg")
            $ispic = 2
        WEnd
        if $ispic = 2 and $mousepos[4] = $Button_name and not $mousepos[2] =1 Then
            ;a function when you press the button
        if $ispic = 2 and not $mousepos[2] = 1 and $mousepos[4] = $Button_name then
            $ispic = 0
        EndIf
        if not $mousepos[4] = $Button_name and $ispic <> 0 Then
            GUICtrlSetImage($Button_name,"Button.jpg")
            $ispic = 0
        EndIf
    EndIf
EndFunc
Edited by Alek

[font="Impact"]Never fear, I is here.[/font]

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