Jump to content
Sign in to follow this  
hutch

how to check if an IE windows has been closed by user ?

Recommended Posts

hutch

how to check if an IE windows created by _IECreate () has been closed by user ?

there is a _IE command ?

I don't want to use WinExists

THX

Share this post


Link to post
Share on other sites
Uten

Do you want to take action when the window is closed by a user (as in ALT+F4 or clicking the close button)?

Can't you register for a close or exit event from the object? ObjEvent($oIE, "MyCloseHandler","Don't know this part")?

Share this post


Link to post
Share on other sites
Uten

The event is OnQuit (in VB). Here you find a nice list

EDIT: Crap I nead new glasses. It is OnQuit and not OnClose. I'm testing a little now but can't get it to work..:P

Edited by Uten

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.