Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User defined Windows events
Message
 
 
À
11/09/1998 10:43:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00135476
Message ID:
00135677
Vues:
8
Jay,

You do not have access to the FoxPro windows message handling loop.

It is quite easy to create a COM server with VFP that C++ can instantiate and issue method calls to. It's also possible to use the RegisterWindowMessage() API call so that FoxPro can SendMessage() or PostMessage() to put messages into the C++ event loop.

>I am a C++ programmer that has been told to get a FoxPro program working with my API. From a FoxPro program I need to hand the API the window handle of the FoxPro program and a WM_USER event.
>
>1. How do I get the handle of the window to hand to the API?
>2. How do I trap the WM_USER event inside of FoxPro?
>
>This has been the only thing I haven't been able to figure out.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform