Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Dec : Message sender

www.cryer.info
Managed Newsgroup Archive

Message sender

Subject:Message sender
Posted by:"Bob D" (bo..@demo.it)
Date:Thu, 14 Dec 2006 02:38:03

Hello,

when I receive WM_ENDSESSION message I prepare my program for shutdown. How
can I know that WM_ENDSESSION sent by Windows and not by a 3rd party tool
with a simply SendMessage? Can I know somehow the originator of the message?

Thanks

Replies:

www.cryer.info
Managed Newsgroup Archive