In VFP 6.0 is not another way... or you must upgrade to VFP 8.0/9.0.
Or... if you need only hook to Destroy() event,
1) you can create own FLL library with VFP hook to destroy window (_ActivateHandler()/_DeActivateHandler()/EventRec).
2) use DLL (
vfpc32) for handling Windows message by window handle.
MartiJ
>Martin
>
>Thank you for your response. However what I wanted was to know whether you could interactively add code to a Form Object created with DEFINE WINDOW via the NAME clause. I have just found a work-around.
>
>Fred Matano