api available ?
-
i have process id then how to get its main window hwnd is there any api available in vc++. Because i have use Enumewindo.. but that the inderiect way. r00d0034@yahoo.com
-
i have process id then how to get its main window hwnd is there any api available in vc++. Because i have use Enumewindo.. but that the inderiect way. r00d0034@yahoo.com
There is no direct API to do this. Use EnumWindows and call GetWindowThreadProcessId on each HWND Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
There is no direct API to do this. Use EnumWindows and call GetWindowThreadProcessId on each HWND Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
u say that but i think their must be some way. if i have window title then may i get the hwnd of it ?
r00d0034@yahoo.com wrote: if i have window title then may i get the hwnd of it ? Use
FindWindow
orFindWindowEx
Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]