Re: Script close method creating problem for control
From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 07/20/04
- Next message: Paul Middlin: "Language pack installation prompt"
- Previous message: Igor Tandetnik: "Re: onclick handler and automation"
- In reply to: Steve Phils: "Script close method creating problem for control"
- Next in thread: Steve Phils: "Re: Script close method creating problem for control"
- Reply: Steve Phils: "Re: Script close method creating problem for control"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Jul 2004 11:01:59 -0400
"Steve Phils" <stevephils@yahoo.com> wrote in message
news:c4fe2718.0407200420.1fd91069@posting.google.com
> When a webpage with script close("top.window.close()") methods get
> called, my DHTML control wont close/unload. Only the top IE window ie
> parent window of control get closes.
This indicates a reference counting problem somewhere in your code. Are
you keeping any references on the hosting IE, by any chance? If you are,
you need to release all of them when SetClientSite(NULL) is called.
--
With best wishes,
Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken
- Next message: Paul Middlin: "Language pack installation prompt"
- Previous message: Igor Tandetnik: "Re: onclick handler and automation"
- In reply to: Steve Phils: "Script close method creating problem for control"
- Next in thread: Steve Phils: "Re: Script close method creating problem for control"
- Reply: Steve Phils: "Re: Script close method creating problem for control"
- Messages sorted by: [ date ] [ thread ]