WM_QUERYENDSESSION and wxMSW

Volker Bartheld dr_versaeg at freenet.de
Fri Aug 17 00:47:37 PDT 2007


Hi Vadim!

> VB> I don't know how wxW apps are handling WM_QUERYENDSESSION followed by
> VB> WM_ENDSESSION
>  They don't, you do. See EVT_QUERY_END_SESSION and EVT_END_SESSION events.

Ah. OK. I didn't think those rather Win32-specific messages have been
ported to wxW.

> VB> just results in wxWindow::OnClose() being called on the main window or even
> VB> wxWindow::Destroy() being issued on all windows of the app.
>  But I think Windows does this by default itself anyhow. So probably your
> application refuses to close for some reason.

I'll check that out. Could also be that there's a socket issue (when the
remote app shuts down the socket inexpectedly due to WM_QUERYENDSESSION).

Thanks!

Volker

-- 
mailto:  V B A R T H E L D at G M X dot D E






More information about the wx-users mailing list