Muscle Posted April 12, 2007 Posted April 12, 2007 (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 vista gui - close button active Edited April 12, 2007 by Muscle
tAKTelapis Posted April 12, 2007 Posted April 12, 2007 what you are after is something to skin your guithis might do what you are after.http://www.autoitscript.com/forum/index.ph...mp;showfile=44#you might have to put in the hard yards and create custom imagery or what not though.
Muscle Posted April 12, 2007 Author Posted April 12, 2007 thanks, i will try. but how to make the change of the close button (=> gets red) muscle
Alek Posted April 12, 2007 Posted April 12, 2007 (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 April 12, 2007 by Alek [font="Impact"]Never fear, I is here.[/font]
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now