Herb191 Posted January 23, 2014 Posted January 23, 2014 I am sure this is something simple but I can’t get this to display without a white box at the top of the GUI. #include <GUIConstantsEx.au3> #include <IE.au3> #include <WinAPI.au3> $oIE = _IECreate("about:blank", 0, 0) $IE_window_child = _IEPropertyGet($oIE, "hwnd") $Form1 = GUICreate("Test", @DesktopWidth, @DesktopHeight, 0, 0) _WinAPI_SetParent($IE_window_child, $Form1) GUISetState(@SW_SHOW) Do Until GUIGetMsg() = $GUI_EVENT_CLOSE
JohnOne Posted January 24, 2014 Posted January 24, 2014 Cannot reproduce. Also, I don't think what you are expecting to achieve, is actually occurring. For example to embed IE, see >here. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Solution Herb191 Posted January 24, 2014 Author Solution Posted January 24, 2014 For example to embed IE, see >here. That example didn’t display right ether when I removed the –k switch. I removed the switch because I needed to be able to run IE with Ad Block Plus. Anyway, after some more digging around it looks like the address bar is what was causing the issue. The following code fixed the problem. If _IEPropertyGet($oIE, "addressbar") Then _IEPropertySet($oIE, "addressbar", False)
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