PyCWnd.OnClose Virtual

OnClose()

Called for the WM_CLOSE message.

Comments

The default calls DestroyWindow(). If you supply a handler, the default is not called.

The MFC base class is always called before the Python method.

See Also

PyCWnd::OnClose