Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to get HWND of ShellExecute launched app
Message
From
07/01/2003 12:12:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00738764
Message ID:
00738866
Views:
21
Unfortunately not David. They might be any app. user defined (DOS or Win).
Cetin

>Cetin,
>
>If these are VFP apps you are launching, why not have the code either simply add the datetime() to _vfp.Caption or maybe a sequential number (each one could see how many others already exist and use the next number)
>
>>*Main.App
>>Get a launch request - ShellExecute another one as watcher (with some more params)
>>Get a launch request - ShellExecute another one as watcher
>>Get a launch request - ShellExecute another one as watcher
>>
>>Now watcher(s) has a problem. If requests are made with some split times they find the window right. If all request were done say from same routine, 3rd one might put up its window before 1st, leaving me no way to distinguish :(
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform