[Harbour] Re: Trap / run routine when MS Windows red X box closed?
Przemysław Czerpak
druzus at acn.waw.pl
Tue Mar 2 05:00:08 EST 2010
On Tue, 02 Mar 2010, smu johnson wrote:
Hi,
> Thanks for the tips. I tried both these options, and they seem to start up
> a new console window whenever I run stuff. I imagine this is the price I
> have to pay, in order to trap the red X button being pressed...
No it's not the price you have to pay.
Additional console window is created by some C RTLs for console
programs. You have to use -gui hbmk2 switch that you are creating
GUI program. GTWVT uses WIN API to create console window so technically
is not console program but GUI one.
best regards,
Przemek
More information about the Harbour
mailing list