Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event handler
Message
From
13/04/2000 13:12:58
 
 
To
13/04/2000 12:55:36
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00359363
Message ID:
00359385
Views:
7
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform