How to get windows id from process id,
Printable View
How to get windows id from process id,
What do you mean by windows id? And, from what process?
FindWindow API will return the Windows id (window handle id).. i am facing some problem in findWindow API,,
So am trying Shell...
Shell returning process id alone.. so From process id, i want to find the windows handle id
Am executing Adobe.exe using shell.. it returning Process id..
From this process id i want to get the windows handle id for the adobe, which i executed..
you can get the process name using GetWindowThreadProcessID() API by giving the window handle . But you need otherwise.
What is the trouble you have with FindWindow() ?
@ Fazi...
Pls see this link..
MenuItemExecute