Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fire an event in one VFP program from another VFP progra
Message
From
08/01/2003 12:08:19
 
 
To
07/01/2003 18:01:59
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00737929
Message ID:
00739362
Views:
25
Hi Jack

You can also work with api's. for this solution you will need the MessageCatcher ActiveX from Venelina Jordanova (Download ID: 15214) and some windows api.

Windows API:
RegisterWindowMessage
SendMessage/PostMessage
FindWindow

you can now register a 'message' you can send to any other (or all) applications and 'catch' that message with the MessageCatcher and point from there to anything you whant to do.

I have used this to update a new userid in a second app when the user in the first app changes. if i anderstand windows correctly that is how MS windows fires most events/methods between application. for example if you press a key, a message is send from windows to the foremost application which intercepts that message and fires the appropriate action.

hope that helps

gunnar
Previous
Reply
Map
View

Click here to load this message in the networking platform