Hi,
Is it possible to get the process object to which it belongs by the window handle ?
Process by window handle
Re: Process by window handle
What does oWndFromHwnd have to do with it ?
I'm looking through the Enum list of windows and wanted to find out which process a particular window belongs to
I'm looking through the Enum list of windows and wanted to find out which process a particular window belongs to
- Antonio Linares
- Site Admin
- Posts: 42602
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 43 times
- Been thanked: 88 times
- Contact:
Re: Process by window handle
You have to use: GetWindowThreadProcessId()
https://webcache.googleusercontent.com/search?q=cache:iBU-5nGz4kMJ:https://www.py4u.net/discuss/705611+&cd=4&hl=en&ct=clnk&gl=es
There are three different solutions on the above url
https://webcache.googleusercontent.com/search?q=cache:iBU-5nGz4kMJ:https://www.py4u.net/discuss/705611+&cd=4&hl=en&ct=clnk&gl=es
There are three different solutions on the above url