Re: Closing application
You need to override vApp:CloseAppWin. This will catch all close events.
There is a new feature of V 1.21. See vApp::CloseLastCmdWindow for handling
the possibility of closing all MDI windows.
"Przemys³aw G. Gawroñski" wrote:
>
> How can I catch the event that closes the application by clicking on the
> Close icon in the top right corner ?
> I've tryied to catch the M_EXIT in the cmd window but it doesn't work.
>
> If I have an exit option that generates the M_EXIT event then fine (if I
> use that option form the menu) but not by 'Alt-F4' or the icon.
>
> Thanks Przemek
> --
> Przemyslaw G. Gawronski ICQ:8358522
> mailto:gawronskip@usa.net
>
> --
> To UNSUBSCRIBE, email to other-vgui-discuss-request@other.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@other.debian.org
--
Bruce E. Wampler, Ph.D.
Author of the V C++ GUI Framework
e-mail: mailto:bruce@objectcentral.com
web: http://www.objectcentral.com
Reply to: