Please Help
I am using VC++ in win 2000
In my appl (Win32 project) I want to control the close operation of the apl (for example if somebody will try to close appl from the "Windows Task Manager")
I want to know in my appl what message to expect from "Task Manager",
when user will try to close my appl from the "Windows Task Manager".
what message should I get in my appl
thank you
Pola 8 2591
Hello Pola,
Thanks for your post. I reviewed your description carefully, and now I'd
like to share the following information with you:
Generally speaking, we should handle cleanup operations of an application
in the WM_CLOSE message handler. There is other closing message that "Task
Manager" will send. Please also kindly note that Task Manager will
terminate a process forcibly if it hangs.
Hope this helps.
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Hello Pola,
Thanks for your post. I reviewed your description carefully, and now I'd
like to share the following information with you:
Generally speaking, we should handle cleanup operations of an application
in the WM_CLOSE message handler. There is other closing message that "Task
Manager" will send. Please also kindly note that Task Manager will
terminate a process forcibly if it hangs.
Hope this helps.
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
thanks you
but WM_CLOSE message doesn't help me in this case
Is it possible to get message in my appl from Windows Task Manager
What closing message should I get in my appl,
when Task Manager will terminate forcibly my appl
thank you
Pol
thanks you
but WM_CLOSE message doesn't help me in this case
Is it possible to get message in my appl from Windows Task Manager
What closing message should I get in my appl,
when Task Manager will terminate forcibly my appl
thank you
Pol
Hello Pola,
Thanks for your prompt response. Is it possible to get message in my appl from Windows Task Manager?
In the Applications panle of Task Manager, it will post WM_CLOSE message to
the application when you select to "End Task. However, in Processes panel,
when you click "End Process", a Task Manager Warning comes up and states:
"WARNING: Terminating a process can cause undesired results including loss
of data adn system instability. The process will not be given the chance to
save its state or data before it is terminated. Are you sure you want to
terminate the process?"
If you click "Yes", it will forcibly terminate your application.
Hope this helps.
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Hello Pola,
Thanks for your prompt response. Is it possible to get message in my appl from Windows Task Manager?
In the Applications panle of Task Manager, it will post WM_CLOSE message to
the application when you select to "End Task. However, in Processes panel,
when you click "End Process", a Task Manager Warning comes up and states:
"WARNING: Terminating a process can cause undesired results including loss
of data adn system instability. The process will not be given the chance to
save its state or data before it is terminated. Are you sure you want to
terminate the process?"
If you click "Yes", it will forcibly terminate your application.
Hope this helps.
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Hi Pola,
I wanted to post a quick note to see if you would like additional
assistance or information regarding this particular issue. We appreciate
your patience and look forward to hearing from you!
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Hi Pola,
I wanted to post a quick note to see if you would like additional
assistance or information regarding this particular issue. We appreciate
your patience and look forward to hearing from you!
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: KK |
last post by:
Hi Peoples,
Can anyone give me any learning materials for learning C++.
i.e. can you give me any docs or give me the link to any website that has
info on programming in general or C++.
(ok I know I could go to a library and read books on C++ but looking for
something urgently.)
|
by: m3ckon |
last post by:
Hi there,
had to rush some sql and am now going back to it due to a slow db
performance. I have a db for sales leads and have created 3 views based
on the data I need to produce.
However one o the views, which has subqueries to the other views is VERY
slow and it needs to be speeded up, but am unsure how, can anyone
help... below is the sql?
|
by: Lodewijk van Haringhal |
last post by:
I'am new with javascritping not with programming. Is there nobody who can
help me with ths simple promblem? :) Please, please give me a hint.
Please help me with this script. I have two lists in my form. One to choose
a directory and one to choose a picture. The script bellow works perfect
without the directory choose function.
I tried to make the directory choose function myself but I did not succeed.
I think I made a mistake here:...
|
by: Alan Bashy |
last post by:
Please, guys, In need help with this. It is due in the next week. Please,
help me to implement the functions in this programm especially the first
three constructor. I need them guys. Please, help me.
This was inspired by Exercise 7 and Programming Problem 8 in Chapter 3 of
our text.
I have done Exercise 7 for you: Below you will find the ADT specification
for a string
of characters. It represents slightly more that a minimal string...
|
by: TrvlOrm |
last post by:
HI There,
I have been struggling with JavaScript code for days now, and this is
my last resort! Please help...
I am trying to create a JavaScript slide show with links for Next
Slide, Previous Slide and Home Slide.
Is it possible for you to view my page and tell me what I am doing
wrong. I have looked at this page for hours and can't figure it out, I
| |
by: Steve |
last post by:
Hi,
I've asked this question a couple of times before on this forum but no
one seems to be nice enough to point me to the right direction or help
me out with any information, if possible. Please help me out with this
because this is a very serious issue for me and I need to learn more
about this. And here it is again:
I've been running postgres on my server for over a year now and the
tables have become huge. I have 3 tables that have...
|
by: tuan_vandyk |
last post by:
Hi I desperately need help with my project. Theoretically everything
should work bu it just isn't. Please email me for a copy of the
project's source code. It was made in Turbo C++ 5. Please if anyone can
help me please email me at tuan_vandyk@yahoo.co.uk
Thanks
|
by: jeffbroodwar |
last post by:
Hi everyone ! i need help on how can i convert xml data to resultset.. actually i was able to convert ResultSet to XML (using MySQL database) the problem is how can i make my client program consume this xml file... please someone help me with this.... if possible also help me do the research.. i need to finish this before next week. no worries, it'll pay you good. knowing that only few people knows how to do this. it an achievement to be one of...
|
by: imrosie |
last post by:
Please help with this one,,,,,I've been trying everything in my arsenal to fix this one. I'm stumped....
I"ve got a unbound combo box (customername) that has two events (on click); AfterUpdate and NotInList.
The AfterUpdate uses a 'me.recordsetclone' in order to display other data in controls associated with customerid/customername from the Customer table.
The NotInlist, does just that, adds a new customer name to the
list along with...
|
by: tabani |
last post by:
I wrote the program and its not giving me correct answer can any one help me with that please and specify my mistake please it will be highly appreciable...
The error arrives from option 'a' it asks for user name, check in the system but does not return the correct answer please help me with it.
or if you have better way of doing it would you please mind to tell me..
thanks..
#!/usr/bin/perl -w
#use Getopt::Std;
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |