Sign in to follow this  
Followers 0
GoogleDude

Question on _IECreateEmbedded?

3 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Psibernetic

[sup]Psibernetic[/sup]My Creations:X-HideSecuracy

Share this post


Link to post
Share on other sites

Thanks, il play with it this afternoon. do I still need to set the params inside your function?

~GD

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