Click here to Skip to main content
15,881,033 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I am calling an active-x from internet add-on.This active-x is opening a Modal window.

Now i close the browser when this modal window is active.The browser gets closed ,but the active modal window does not close.

My problem is how can i close this modal window when the browser gets closed?
[no name] 16-Nov-15 0:46am    
Can you share code how are you opening modal popup in IE.
[no name] 16-Nov-15 0:52am    
You need a handle to the dialog and close it before browser closes.
How to detect when browser closes?
Sergey Alexandrovich Kryukov 16-Nov-15 2:18am    
It all smells huge technology abuse...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900