> I'm trying to write a simple Hello World app that does something like a WAIT 
> command and maybe calls a function if I click the X button for a GTWIN app.  
> I have no idea if this is even possible, as I have grepped the entire harbour 
> src .zip file contents for some hints.  In the few results for 
> CTRL_CLOSE_EVENT I don't really see anything relevant that can like.. set up 
> a call hook function or anything.  I'm totally lost.
> 
> Any hints greatly appreciated. 

Use GTWVT and HB_GTI_NOTIFIERBLOCK (see: tests\wvtext.prg)

With GTWIN I still have to see proof that 
it's technically possible to catch close 
events like that, until then I assume it's 
not possible, and for sure it's not implemented 
in Harbour.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to