Solved

Problem with WM_QUERYENDSESSION on NT receiving

Posted on 1997-04-02
1
383 Views
Last Modified: 2013-12-03
At first i am sorry for my english. I run my 16 bit app on Win NT. This app runs some other 16 bit apps as child processes. When i try exit Win NT the main app processes WM_QUERYENDSESSION message and stops Win NT exit.  Child processes don't receive WM_QUERYENDSESSION message, but Win NT informs me the app is not responding. How can i shake off this problem. I have not this problem on Win 95 or  Win 3.1.
0
Comment
Question by:Semenishev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
bhoward earned 100 total points
ID: 1334336
You might also need to process the WM_ENDSESSION message.  It is sent to all applications that halted the shut-down process to tell them whether the session was actually closing or not.  There are conditions where an apps denial of the WM_QUERYENDSESSION will not be able to stop the shutdown.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question