Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to trap windows SDK events from VFP ?
Message
 
 
À
16/06/1998 08:59:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00108599
Message ID:
00108647
Vues:
39
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform