thelex Posted June 16, 2008 Share Posted June 16, 2008 I want to know how i can make the embedded IE window in my GUI resize when i resize the main GUI. Screenshot to illustrate:#include <GUIConstants.au3> #include <IE.au3> #NoTrayIcon $IE = _IECreateEmbedded() GUICreate("TEST", 500, 200, -1,-1,BitOr($GUI_SS_DEFAULT_GUI,$WS_MAXIMIZEBOX,$WS_SIZEBOX,$WS_EX_LAYERED)) $IEGUI = GUICtrlCreateObj ($IE, 0, 0, 499, 199) GUISetState() _IENavigate ($IE, "http://www.google.com", 0) While 1 $GUI = GUIGetMsg() Select Case $GUI = $GUI_EVENT_CLOSE Exit EndSelect WEnd Link to comment Share on other sites More sharing options...
sandin Posted June 16, 2008 Share Posted June 16, 2008 for version 3.2.12.0: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> #NoTrayIcon $IE = _IECreateEmbedded() GUICreate("TEST", 500, 200, -1,-1,BitOr($GUI_SS_DEFAULT_GUI,$WS_MAXIMIZEBOX,$WS_SIZEBOX,$WS_EX_LAYERED)) $IEGUI = GUICtrlCreateObj ($IE, 0, 0, 499, 199) GUICtrlSetResizing(-1, $GUI_DOCKBORDERS) GUISetState() _IENavigate ($IE, "http://www.google.com", 0) While 1 $GUI = GUIGetMsg() Select Case $GUI = $GUI_EVENT_CLOSE Exit EndSelect WEnd Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
thelex Posted June 16, 2008 Author Share Posted June 16, 2008 for version 3.2.12.0: ...THANKS Do you happen to know how to make it transparent too? like from 0 to 255 .. Link to comment Share on other sites More sharing options...
sandin Posted June 16, 2008 Share Posted June 16, 2008 like this?: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> #NoTrayIcon $IE = _IECreateEmbedded() $Form1 = GUICreate("TEST", 500, 200, -1,-1,BitOr($GUI_SS_DEFAULT_GUI,$WS_MAXIMIZEBOX,$WS_SIZEBOX,$WS_EX_LAYERED)) $IEGUI = GUICtrlCreateObj ($IE, 0, 0, 499, 199) GUICtrlSetResizing(-1, $GUI_DOCKBORDERS) WinSetTrans($Form1, "", 180) GUISetState() _IENavigate ($IE, "http://www.google.com", 0) While 1 $GUI = GUIGetMsg() Select Case $GUI = $GUI_EVENT_CLOSE Exit EndSelect WEnd Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
thelex Posted June 16, 2008 Author Share Posted June 16, 2008 like this?: ... You are awesome THANKS 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