On Mon, 2 Jul 2012 22:00:05 +0300
ik <[email protected]> wrote:

> Hello,
> 
> It's the first time that I use Lazarus with Windows, and almost 10 years
> since I last developed to Windows.
> 
> I'm trying to capture the windows message WM_QUERYENDSESSION (that exists
> on JwaWinUser).
> 
> I did something like this:
> 
> TForm1 = class(TForm)
> ...
> private
>   procedure WMQueryEndSession(var Msg : TLMessage); message
> WM_QUERYENDSESSION

Why not simply drop a ApplicationProperties onto the form and set the
OnQueryEndSession event?

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to