Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to trap windows SDK events from VFP ?
Message
From
16/06/1998 10:11:18
 
 
To
16/06/1998 08:59:11
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00108599
Message ID:
00108647
Views:
38
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform