Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to get HWND of ShellExecute launched app
Message
De
07/01/2003 10:57:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00738764
Message ID:
00738801
Vues:
19
>>or a way to get it from CreateProcess launched one ? TIA
>>Cetin
>
>Hi Cetin,
>
>Isn't there a way to test whether an HWND is associated with a given process id?
>
>Mike

Yes there is. But unfortunately some apps (DDE broadcasting) like Word has the same pid for all calls to winword. ie:

ShellExecute(0,'open','windword.exe',0,0,1)
ShellExecute(0,'open','windword.exe',0,0,1)
ShellExecute(0,'open','windword.exe',0,0,1)

All 3 have same pid and tid :(

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform