Sign in to follow this  
Followers 0

Gui, Ienavigate and focus

1 post in this topic


i have a little problem

I create a GUI and inside an Internet webpage.

I hide the Gui, but when the Ienavigate change the URL, i lost the focus in the active windows where i am (for exemple while i wrote this message)

If Someone will have any idea, i will be happy to read this.


#include <GUIConstants.au3>

#include <IE.au3>

$oIE = ObjCreate("Shell.Explorer.2")

GUICreate ( "Hello World", 640, 580)

$GUIActiveX = GUICtrlCreateObj ( $oIE, 10, 40 , 620 , 500 )



; Waiting for user to close the window

While 1

_IELoadWait ($oIE, 10000, 60000 )

if @error = 6 Then

_IEAction ($oIE, "refresh")



sleep (5000)


GUIDelete ()


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