Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capture Windows Messages sent from a API to VFP. HELP!
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00466118
Message ID:
00466793
Views:
10
>And how do you add VFP code to the loop to intercept a message that isn't currently handled by VFP's Event loop monitor? You need to add a handler to be dispatched, and without the ability to specify an entrypoint for dispatch on message receipt, you're kinda stuck - sort of like you were with VB4, before AddressOf() was a reality.

You may be right. Performance issues stopped me before I got that far. However, my SWAG is that the VFP message loop I wrote will snag all of the messages whether they're accounted for in VFP's loop or not. It's a SWAG because if the code doesn't punt the messages to VFP, VFP never sees them.

It's all semantics anyway, since my experience bears out that a message loop in pure VFP isn't practical. You do bring up some good points, though.
Mike Stewart
Previous
Reply
Map
View

Click here to load this message in the networking platform