By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,655 Members | 959 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,655 IT Pros & Developers. It's quick & easy.

undoing the close operation of internet explorer

P: n/a
hi,

I have developed a multithreaded MFC activeX control, which i host on
the Internet Explorer.
when i click on the close button of the Internet Explorer i.e., when
the user decides to end the application, I perform a check to see
whether any threads are still active. If so, I display a message
asking the user if he really wants to quit. If he clicks on 'NO' then
i should be able to revert back the entire operation, i.e., the
browser should not close itself, and the application should still
remain active.
can anybody help me with this?
waiting for a quick reply.

thanks and regards
bharath

Mar 15 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Mar 15, 7:51 am, bharath.0...@gmail.com wrote:
I have developed a multithreaded MFC activeX control, which i host on
the Internet Explorer.
when i click on the close button of the Internet Explorer i.e., when
the user decides to end the application, I perform a check to see
whether any threads are still active. If so, I display a message
asking the user if he really wants to quit. If he clicks on 'NO' then
i should be able to revert back the entire operation, i.e., the
browser should not close itself, and the application should still
remain active.
can anybody help me with this?
waiting for a quick reply.
You'll want to ask in a group that deals with Microsoft-specific
programming. This group deals with the standard C++ language itself,
not C++ programming in general. See this FAQ for a description of what
is on-topic here and for a partial list of other groups you might try:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Cheers! --M

Mar 15 '07 #2

P: n/a
On 15 Mar, 12:51, bharath.0...@gmail.com wrote:
hi,

I have developed a multithreaded MFC activeX control, which i host on
the Internet Explorer.
when i click on the close button of the Internet Explorer i.e., when
the user decides to end the application, I perform a check to see
whether any threads are still active. If so, I display a message
asking the user if he really wants to quit. If he clicks on 'NO' then
i should be able to revert back the entire operation, i.e., the
browser should not close itself, and the application should still
remain active.
can anybody help me with this?
waiting for a quick reply.
Sorry, this is off-topic here, try microsoft.public.activex or one of
the subgroups. However a guess would be that you can not do that, if
an ActiveX control could prevent the closing of IE it could create all
sorts of trouble.

--
Erik Wikström

Mar 15 '07 #3

P: n/a
On Mar 15, 5:54 pm, "Erik Wikström" <eri...@student.chalmers.se>
wrote:
On 15 Mar, 12:51, bharath.0...@gmail.com wrote:
hi,
I have developed a multithreaded MFC activeX control, which i host on
the Internet Explorer.
when i click on the close button of the Internet Explorer i.e., when
the user decides to end the application, I perform a check to see
whether any threads are still active. If so, I display a message
asking the user if he really wants to quit. If he clicks on 'NO' then
i should be able to revert back the entire operation, i.e., the
browser should not close itself, and the application should still
remain active.
can anybody help me with this?
waiting for a quick reply.

Sorry, this is off-topic here, try microsoft.public.activex or one of
the subgroups. However a guess would be that you can not do that, if
an ActiveX control could prevent the closing of IE it could create all
sorts of trouble.

--
Erik Wikström
Thanks for all your help.

bharath

Mar 16 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.