I.T. Discussion Community!
-Collapse +Expand
Windows
Search Windows Group:

Advanced
-Collapse +Expand Windows Store
PRESTWOODSTORE

Prestwood eMagazine

November Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyWindows Users BoardWindows 9x, ME, NT, 2000, XP Topic   Print This     

WIn NT 4 (Service Pack 6) - Window Messages

WIn NT 4 (Service Pack 6) - Window Messages in Windows 9x, ME, NT, 2000, XP topic (part of our Windows Users group).

Quick Search: (Service   Messages   WIn NT   WIn NT 4   (Service Pack   6) Window  
andyhud
 (Inactive)
Fleet, Surrey, England
RE: Delphi application - probelm area Win NT messages

I'm having to check if my application
has been closed with a reboot/shuit down or with the user interactive and clicking close

I have managed to capture messages that are being sent to my app and it appears as though the following messages are sent on a shut down....

$00B001(45057) and
$00B01A(45082)

I cannot find a definition of these messages anywhere - does anyone know exactly what they are??
I appear to get the B001 5 or 6 times and then a B01A.

Any help appreciated.
 Posted 18 years ago (Thread Starter)
Comment Quote
About andyhud -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #635, 2 replies
Thread Started 1/18/2001 2:25:00 AM
View Counter=4350
Last Reply Posted 6/29/2010 10:01:20 AM)
Location=Fleet, Surrey, England  
Joined=18 years ago   MB Posts=14  
Most Recent Post
Wes Peterson
Prestwood IT
Prestwood IT office in Citrus Heights, CA

I have not tested this idea, but it can't hurt to try:

Does your application's main form have an OnCloseQuery event handler already defined?

If not, create one. And if you already have one add code that'll pop up a message dialog that simply says "Somebody is trying to close me."

With that in place, run your app, then shut down the OS without first shutting down your application.

If your message dialog displays, you now have a place where you can respond to an external shut-down message.

Wes Peterson
Senior Software Engineer
Prestwood IT Solutions
http://www.prestwood.com

 Posted 9 years ago
Comment Quote
About Wes Peterson -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Wes Peterson

Wes Peterson is a Senior Programmer Analyst with Prestwood IT Solutions where he develops custom Windows software and custom websites using .Net and Delphi. When Wes is not coding for clients, he participates in this online community. Prior to his 10-year love-affair with Delphi, he worked with several other tools and databases. Currently he specializes in VS.Net using C# and VB.Net. To Wes, the .NET revolution is as exciting as the birth of Delphi.


Post ID #14198 (Level 1.1)  Reply to 635
Thread Started 6/29/2010 10:01:20 AM
Location=Prestwood IT office in Citrus Heights, CA 
Joined=15 years ago   MB Posts=158   KB Posts=163   KB Comments=34   BLOG, Topics=20  
Anonymous Post

Hi, I have the same problem, and nobody helpsBig Grin!

---
Legionar
 Posted 9 years ago
Comment Quote

Post ID #14197 (Level 1.2)  Reply to 635
Reply Posted 6/29/2010 2:41:18 AM

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1123A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #635 Counter
4350
Since 4/2/2008

Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech