Sign in to follow this  
Followers 0
Aadithyaan

Personal Minimize Button with Graphics

3 posts in this topic

#1 ·  Posted

I'm writing a script which has lots of graphics in GUI. The maxmize, minimize and Close buttons are created with image file. WIndows default Max and Minimize buttons haven't been used.

I have set a graphic file for minimizing my GUI. but not getting how to write the code for minimize? I just want that- when I press that graphic, GUI will minimize,

so what the code for that? Could anyone tell me about this. Many thanks for answer..!

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

If you catch the event when user presses one of those buttons use GUISetState(@SW_MINIMIZE) to minimize.

Edited by ahmet
I am assuming you are making this using AutoIt.
1 person likes this

Share this post


Link to post
Share on other sites

#3 ·  Posted

1 hour ago, ahmet said:

If you catch the event when user presses one of those buttons use GUISetState(@SW_MINIMIZE) to minimize.

Yes, I got the logic, Thanks for Answer...

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