Jump to content
Sign in to follow this  
JustinReno

Minimize functions.

Recommended Posts

JustinReno

I'm trying to disable the minimize button on a GUI. But I want the Maximize button and exit buttons still working. I've looked through the helpfile and found GUIEventOptions but that didn't work. There isn't any code to it, but I'm just wondering if there are anyways to. Thanks.

Edited by JustinReno

Share this post


Link to post
Share on other sites
searchresult

I'm trying to disable the minimize button on a GUI. But I want the Maximize button and exit buttons still working. I've looked through the helpfile and found GUIEventOptions but that didn't work. There isn't any code to it, but I'm just wondering if there are anyways to. Thanks.

here is the code

$Form1 = GUICreate("Form1", 633, 447, 193, 115, BitOR($WS_MAXIMIZEBOX,$WS_SYSMENU,$WS_CAPTION,$WS_POPUP,$WS_POPUPWINDOW,$WS_TABSTOP,$WS_BORDER,$WS_CLIPSIBLINGS))
Edited by searchresult

Share this post


Link to post
Share on other sites
JustinReno

Thank you, that works good. :P

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.