Kogmedia Posted May 28, 2007 Share Posted May 28, 2007 (edited) Hello, When i maximize the GUI how do I get the $GUIActiveX to resize also? Heres my code #include <IE.au3> #include <GUIConstants.au3> $TITLE='' $oIE = _IECreateEmbedded() If @error < 0 Then ConsoleWriteError("$oIE : " & @error) GUICreate($TITLE, 896, 614, "", "", _ $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) $GUIActiveX = GUICtrlCreateObj($oIE, 10, 40, 880, 575) While 1 $msgTray = TrayGetMsg() $msg = GUIGetMsg() if $msg = $GUI_EVENT_CLOSE then ExitLoop wend Thanks, Keith Edited May 28, 2007 by Kogmedia [font="Verdana"]Keith (Kogmedia)[/font]My ScriptQuick Search - Internet / Hard Drive Search Link to comment Share on other sites More sharing options...
smashly Posted May 28, 2007 Share Posted May 28, 2007 Hi Try GUICtrlSetResizing() .. eg:$GUIActiveX = GUICtrlCreateObj($oIE, 10, 40, 880, 575) GUICtrlSetResizing($GUIActiveX, $GUI_DOCKBORDERS) Good Luck Cheers Link to comment Share on other sites More sharing options...
Kogmedia Posted May 28, 2007 Author Share Posted May 28, 2007 Hi Try GUICtrlSetResizing() .. eg:$GUIActiveX = GUICtrlCreateObj($oIE, 10, 40, 880, 575) GUICtrlSetResizing($GUIActiveX, $GUI_DOCKBORDERS) Good Luck Cheers Works Great, Thanks [font="Verdana"]Keith (Kogmedia)[/font]My ScriptQuick Search - Internet / Hard Drive Search Link to comment Share on other sites More sharing options...
smashly Posted May 28, 2007 Share Posted May 28, 2007 Your welcome 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