JakElroy Posted December 16, 2012 Posted December 16, 2012 I googled it forever and ever, searched through every result and none of it worked. I just need to know how to make my GUI resizable, have a title bar on the top, and be maximizeable.
Nunos Posted December 16, 2012 Posted December 16, 2012 http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm Might look at the styles and exstyles in guicreate to see if they can do what you would like to accomplish.
PlayHD Posted December 16, 2012 Posted December 16, 2012 GuiCreate("Title",400,400,-1,-1,$WS_SIZEBOX) My UDF : _WinShake, _WinSplitMy Apps : Google Guitar Bot, PuzzleGameDesign Gui : Interesting Tabs Design, RBox Project (abandoned), Animated Gui on Exit
JakElroy Posted December 16, 2012 Author Posted December 16, 2012 On 12/16/2012 at 7:43 PM, 'PlayHD said: GuiCreate("Title",400,400,-1,-1,$WS_SIZEBOX) Thank you. So much. What are the constants for adding minimize and maximize buttons at the top?
Nunos Posted December 16, 2012 Posted December 16, 2012 (edited) RemarksBy default the dialog box is non sizable and non maximizable. So WS_SIZEBOX or WS_MAXIMIZEBOX can be used in the style parameter.As defining only one style just set this style don't forget to combine it with default ones, i.e. just defining WS_SIZEBOX will not set WS_MINIMIZEBOX, WS_CAPTION, WS_POPUP, WS_SYSMENU. So the best method to define a resizeable window is to use WS_OVERLAPPEDwindow.#include <GUIConstantsEx.au3>#include <WindowsConstants.au3>I believe those are the includes Edited December 16, 2012 by Nunos
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