Jump to content

Recommended Posts

Posted

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

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...