Re: Allow IE close when band is buzy

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 01/13/05


Date: Thu, 13 Jan 2005 10:11:57 -0500


"Ram Shriram" <rawdata@nospam.com> wrote in message
news:ubdHaKM%23EHA.2076@TK2MSFTNGP15.phx.gbl
> If my band object is buzy in a long method call, Internet Explorer
> refuses to close by clicking on the "X" close button.
> What is preventing IE from closing

Your band being busy in a long method call, of course

> and how can I let it close?

Don't have your band be busy in a long method call.

Remember, your band and IE instance hosting it are running on the same
thread. A thread can only do one thing at a time - either run your
band's long method call, or react to user's actions.

-- 
With best wishes,
    Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not 
necessarily a good idea. It is hard to be sure where they are going to 
land, and it could be dangerous sitting under them as they fly 
overhead. -- RFC 1925