Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to get HWND of ShellExecute launched app
Message
 
 
To
08/01/2003 12:42:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00738764
Message ID:
00739441
Views:
32
Cetin,
Glad you're moving forward!

Does CreateProcess return a different process ID as well for the second call? There is nothing in MSDN or Support about returning an invalid ID.

>Larry,
>Almost done :) Enumthreadwindows gets all top windows as you said. One thing to overcome.
>CreateProcess doesn't return a valid threadid 2nd time it's called (with an app like word). Returned dwThreadID is not locatable with Spy++ too. If I keep the first call's threadID and use it then EnumThreadWindows returns all window handles (document1, document2).
>Cetin
>
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform