Aadithyaan Posted October 8, 2016 Share Posted October 8, 2016 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..! Link to comment Share on other sites More sharing options...
ahmet Posted October 8, 2016 Share Posted October 8, 2016 (edited) If you catch the event when user presses one of those buttons use GUISetState(@SW_MINIMIZE) to minimize. Edited October 8, 2016 by ahmet I am assuming you are making this using AutoIt. Aadithyaan 1 Link to comment Share on other sites More sharing options...
Aadithyaan Posted October 8, 2016 Author Share Posted October 8, 2016 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... Link to comment Share on other sites More sharing options...
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