473,408 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

undoing the close operation of internet explorer

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
3 2077
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: TC | last post by:
Hey Folks, While coding in VBA, I had been receiving script errors when attempting to utilize the online help from within the VBA IDE. After fiddling with security settings and much searching...
3
by: Asit | last post by:
<META HTTP-EQUIV="expires" content="0"> <META HTTP-EQUIV="pragma" content="no-cache"> <html> <head> <title>Fidelity NetBenefits</title> </head> <body BGCOLOR="#ffffff"> <script...
4
by: Ronny Sigo | last post by:
Hello all, Below is a testroutine. I am trying to open and cclose iexplore programmatically (the default startpage is suffcient, no need to specify another) The opening works, but the closing does...
37
by: Jan Tovgaard | last post by:
Hey everyone:) We have a critical problem, which I can see that other people also has ran into. In Internet Explorer 7 it is no longer possible to do a window.close after opening a window,...
0
by: rbharath | last post by:
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...
5
by: Sommer.pde | last post by:
It took me some time to find out when and why this happens. When the window of Internet Explorer is closed with an AJAX call still pending, something funny happens. Do it twice, and you will have...
1
by: -Lost | last post by:
This is more of a post to inform, unless of course I am missing something fundamental, in which case I would appreciate anyone explaining it. Based on Mr. Michaux's camelizeStyle function I...
1
by: rmgalante | last post by:
I was wondering if anyone knows whether MS has a fix for the Menu Control. If the page is loading while you mouse over a menu control with child menus that pop out, you can generate the following...
0
by: =?Utf-8?B?Q2FyY290dG9u?= | last post by:
Hello everyboby I´m working with VBA in Excel. I atack Iexplorer for download some files, but sometimes, an alert box from the web page, stops the operation until I close the alert window. There...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.