tylerh27 Posted August 5, 2012 Share Posted August 5, 2012 I want to be able to re size the window by dragging the corners, and it automatically gets larger or smaller from dragging the corner. can someone help me? iv looked everywhere and cant find this. Link to comment Share on other sites More sharing options...
funkey Posted August 5, 2012 Share Posted August 5, 2012 You need the style $WS_SIZEBOX Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning. Link to comment Share on other sites More sharing options...
tylerh27 Posted August 5, 2012 Author Share Posted August 5, 2012 (edited) also, i cant seem to be able to click the maximize button, why is this? oh well, now those buttons are gone, only the exit button is there >.> Edited August 5, 2012 by tylerh27 Link to comment Share on other sites More sharing options...
Zedna Posted August 5, 2012 Share Posted August 5, 2012 #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> GUICreate("My GUI", 300, 200, Default, Default, BitOr($GUI_SS_DEFAULT_GUI,$WS_MAXIMIZEBOX,$WS_SIZEBOX )) GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd ncc1701 1 Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
tylerh27 Posted August 5, 2012 Author Share Posted August 5, 2012 that worked! thanks a lot! Link to comment Share on other sites More sharing options...
ncc1701 Posted February 17, 2013 Share Posted February 17, 2013 (edited) I am trying to do the same thing only imbed the IE browser window. Is there a way to make that automatically resize when the main window resizes? Here is a snippet of my code: GUICreate("Test",900,600,Default, Default, BitOr($GUI_SS_DEFAULT_GUI,$WS_MAXIMIZEBOX,$WS_SIZEBOX )) GUISetState() $oIE = _IECreateEmbedded () $GUIActiveX = GUICtrlCreateObj($oIE, 270, 6, 620, 540) _IENavigate ($oIE, $site,0 ) Edited February 17, 2013 by ncc1701 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