Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Event handler
Message
De
13/04/2000 13:12:58
 
 
À
13/04/2000 12:55:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00359363
Message ID:
00359385
Vues:
8
>I'm trying to use an ActiveX control written in VC++. The documentation lists under Events the following:
>void StatusMessage (init sMsgSender, string* sDetail)
>StatusMessage is an event for which a handler can be created to process an event's associated messages.
>Is there a way in VFP to create and event handler as described?
>
>TIA

You can use the VFPCOM utility to bind to the events of an ActiveX control. If you don't have the utility, you can get it from msdn.microsoft.com/vfoxpro.

It basically allows you to define a class with method names for the events you want to bind to, instanciate the ActiveX control and your class, and then bind them using VFPCOM::BindEvents.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform