emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs does not listen on w32


From: Óscar Fuentes
Subject: Re: Emacs does not listen on w32
Date: Tue, 15 Apr 2008 02:03:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt)

"Lennart Borgman (gmail)" <address@hidden> writes:

>> WM_CLOSE just indicates that a window or application *should*
>> terminate. From the Windows POV, not obeying that message does not
>> indicate a bug. It just means that the app decided that closing the
>> window or application was not appropiate.
>>
>> [snip]
>
> Does not that depend on the situation? If Windows is shutting down
> then I think the app should terminate

When Windows shuts down, it sends the WM_ENDSESSION message with wParam
set to TRUE. The application must do its terminatin stuff before
returning from this message.

> (or perhaps ask, but that is a bad choice according to what Jason
> pointed out).

That's what WM_QUERYENDSESSION.

All this info comes from old SDK docs. Maybe it changed for Vista.


-- 
Oscar





reply via email to

[Prev in Thread] Current Thread [Next in Thread]