I am working on a project where I MUST have the ability to respond to this message to abort a system shutdown. It seems that this has gone on for a long time now without being possible. I am willing to pay someone to do the work to add it into wxPython. Anyone up for it want to give me an idea of what it'll cost me?
OLIVER
Oliver, have you tried binding to wx.EVT_QUERY_END_SESSION ?? I
haven't tried it myself, but it seems like that's what you need.
Kyle Rickey
···
-----Original Message-----
From: Oliver T. Nelson [mailto:oliver@hallmarkins.net]
Sent: Sunday, October 14, 2007 6:15 PM
To: wxPython-users@lists.wxwidgets.org
Subject: [wxPython-users] WM_QueryEndSession support
I am working on a project where I MUST have the ability to respond to
this message to abort a system shutdown. It seems that this has gone on
for a long time now without being possible. I am willing to pay someone
to do the work to add it into wxPython. Anyone up for it want to give
me an idea of what it'll cost me?
OLIVER
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
<top posting not corrected, but please don't do it>
···
On 10/15/07, Rickey, Kyle W <Kyle.Rickey@bakerhughes.com> wrote:
Oliver, have you tried binding to wx.EVT_QUERY_END_SESSION ?? I
haven't tried it myself, but it seems like that's what you need.
Kyle Rickey
Note that the event will be delivered to your wxApp instance, not to
any of your windows, and that you can veto the shutdown by vetoing
the event. This is in contrast to EVT_END_SESSION (no query) which is
sent to your top level window and can't be vetoed.