Sign in to follow this  
Followers 0
Muscle

vista gui

4 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

thanks, i will try.

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

muscle

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

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]

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