At 11:52 AM 4/3/2013 -0400, you wrote:
Ken Dibble wrote on 2013-04-03:
>
>> Look at that, Calvin blogged about this:
>> http://blogs.msdn.com/b/calvin_hsia/archive/2005/01/24/359713.aspx
>>
>  Amazing! When this message came in, I had just finished reading Doug
>  Hennig's white paper on binding Windows events, and had concluded that
>  WM_POWERBROADCAST was probably what I needed, and was starting to look
>  around for a code example.
>
>  Serendipity!

I like the WM_QUERYENDSESSION.
I sent you a small project I put together using it.
With Windows Vista and higher, the use of ShutdownBlockReasonCreate and
ShutdownBlockReasonDestroy allows the user to see why the program is not
allowing the computer to shutdown.

Yes, even better. I received your email and responded there.

Thanks for all your help!

Ken Dibble
www.stic-cil.org

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/5.2.1.1.1.20130403120616.01c7d...@pop-server.stny.rr.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to