Re: [Harbour] gt windowclose trapping

2008-01-22 Thread Pritpal Bedi
Lorenzo What about adding sth like GTI_WINDOWCLOSE value to control it? Even better would be a callback to a user prg function that can return T/F? I am all set to introduce callbacks on core GT for every possible event. Waiting for release freeze. Regards Pritpal Bedi, INDIA-USA --

Re: [Harbour] gt windowclose trapping

2008-01-22 Thread Szakáts Viktor
You have my vote. Brgds, Viktor On 2008.01.22., at 15:20, Lorenzo Fiorini wrote: Users use the upper right X to close apps. To avoid it under X I've always comment out: /* if( ( Atom ) evt->xclient.data.l[ 0 ] == s_atomDelWin ) { hb_vmRequestQuit(); }

[Harbour] gt windowclose trapping

2008-01-22 Thread Lorenzo Fiorini
Users use the upper right X to close apps. To avoid it under X I've always comment out: /* if( ( Atom ) evt->xclient.data.l[ 0 ] == s_atomDelWin ) { hb_vmRequestQuit(); } break; */ but the same can happens in other gts. What about adding sth like