Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Callback - AddressOf
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00643129
Message ID:
00643135
Views:
14
>Hello!
>
>Do you know how to use a Callback function with VFP-Functions?
>In Visual Basic you have the "AdressOf" wich passes the Adress of the function you want to be Called.
>In Visual Fox Pro i have no adress for a function i want to pass.
>Do you have any ideas how to do this?

There's no equivalent in VFP. This is because VFP forms are significantly different in the way Windows messages are handled. All messages, even in Top-Level Forms, is handled through the main VFP window. Further, because of VFP's internal memory management, the address passed as the callback may be invalid by the time the callback returns.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform