[Harbour-users] Re: How to handle DOS BOX close

Antonio Martinez alcisoft at arrakis.es
Mon Jan 18 12:44:42 EST 2010


Lo mejor es desactivar el boton de salida.... en el grupo de usuarios de
xharbour en portuguese creo que reynaldo puso como desactivar el boton X de
la application box


frans Klein escribió en mensaje
<6877240E10EE4B4E9B9C67AC7C344C8B at AZ.local>...
>Hi to all,
>
>
>
>USING WINDOWS XP, I have noticed that the INKEY () function will return a
>256 value when a dos box running a harbour dos application is closed by a
>click on the CLOSE button (upper right of the window).
>
>This is very easy. It allows managing quitting the program.
>
>
>
>On VISTA and WINDOWS 7, this behaviour does not seem to exist.
>
>
>
>Is there a way to detect in the DOS program if the Close (X) button is
>clicked ?
>
>
>
>Thanks a lot,
>
>
>
>Frans.
>
>PS : is this the right way to submit these kind of questions ?





More information about the Harbour-users mailing list