Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieve the HWND by knowing the process ID
Message
From
14/05/2018 18:37:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Retrieve the HWND by knowing the process ID
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Application:
Desktop
Miscellaneous
Thread ID:
01659980
Message ID:
01659980
Views:
90
Hi all, Anybody can give me an example of how to get the HWND number of a given Process ID ?

I need to invoke SetForegroundWindow but I don't know the handle of the application though I know its process ID through the function getcurrentprocessid

Thank you
Alessio
Next
Reply
Map
View

Click here to load this message in the networking platform