>Hello,
>
>Is there any way that we can trap windows standard events from vfp ?
>
>Thanks
>Kaumir
Hi, Kaumir
I you are willing to write some C code, you can hook VFP's event loop with an API call.
The VFP API call is:
unsigned int _ActivateHandler(FPFI handler)
FPFI handler /* Event handler to be added. */ By choosing your return value you can either allow VFP to see the event (return 0), or prevent VFP from processing the event (return any non-zero value) This looks like a hook into VFP's mechanism for processing windows events. Details are available in the VFP help file under _ActivateHandler.
HTH,
Ned
Ned
Reality is.