Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User defined Windows events
Message
De
11/09/1998 10:54:01
 
 
À
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:
00135483
Vues:
10
>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.
>
>Thank You,
>Jay McMeans

You can use Foxtools functions: _WFindTitl() and _WhToHwnd() to get form handles. Main window handle can be retireved using API FindWindow(). I'm unsure about WM_USER.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform