Sign in to follow this  
Followers 0
VAN0

Is there a way remove maximize/restore button?

7 posts in this topic

Hello.

I'm trying make a GUI window with only minimize and close buttons. Is this possible? the $WS_MINIMIZEBOX also adds maximize button...

Thank you.

Share this post


Link to post
Share on other sites



I would advice you to install FULL ScyTE and launch Koda(FormDesigner). Try to change GUI styles and you would notice what you need, it won't be hard and you may learn even more usefull things.

Share this post


Link to post
Share on other sites

Unfortunately Koda doesn't have any "tricks", and reading the help file it seems without them (tricks) there is no way display minimize button without maximize...

Share this post


Link to post
Share on other sites

GUICREATE in the helpfile

GUICreate ('',300,300,-1,-1,1)
GUISetState ()
Do
Until GUIGetMsg () = -3

Share this post


Link to post
Share on other sites

GUICREATE in the helpfile

GUICreate ('',300,300,-1,-1,1)
GUISetState ()
Do
Until GUIGetMsg () = -3

That is no buttons. The op asked to have just the minimize and close buttons.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

That is no buttons. The op asked to have just the minimize and close buttons.

ooops :S my bad, i miss read it. *sigh* other than that i have nothin, you could use $WS_EX_TOOLWINDOW but that only has "X".

Share this post


Link to post
Share on other sites

My bad, sorry... I dont know any method, which could remove that button. Normaly i just disable it so it cant be used.

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