C
C#FaNim

❔ How to work with Hwnd in c#

I want to open programs using Process.Start but all those programs have empty MainWindowHandle and MainWindowHandle do i need after it opens search again for all processes using EnumWindows or smth like that to refresh datas in this opened processes to have control or is there any better solution to search for hwnd and title data or just get it after Process.Start. And is it all safe?
J
Jester396d ago
what are you trying to achieve? you want a list of all windows? or just the handle of the window of the process you started? and with that handle you want the window title?
A
Accord395d ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.