GoogleDude Posted February 7, 2010 Share Posted February 7, 2010 how can I make the embedded page url part of the gui autosize when I maximize the main gui. im using the example found in help? using the example found in help if I maximize the main gui it does not autosize the page embedded.thanks,GD?Function _IECreateEmbedded Link to comment Share on other sites More sharing options...
Psibernetic Posted February 9, 2010 Share Posted February 9, 2010 (edited) This could help you. Takes a bit of mathematically manipulating the ratio of size from $GUI_Height to your IE control. GUIRegisterMsg($WM_SIZE, "WM_SIZE") Func WM_SIZE($hWnd, $iMsg, $iwParam, $ilParam) $GUI_Height=_WinAPI_GetWindowHeight($GUI) $GUI_Width=_WinAPI_GetWindowWidth($GUI) GUICtrlSetPos() ;Set new size based on new GUI size Return $GUI_RUNDEFMSG EndFunc ;==>WM_SIZE Edited February 9, 2010 by Psibernetic [sup]Psibernetic[/sup]My Creations:X-HideSecuracy Link to comment Share on other sites More sharing options...
GoogleDude Posted February 9, 2010 Author Share Posted February 9, 2010 Thanks, il play with it this afternoon. do I still need to set the params inside your function? ~GD 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