Get child window handles in C#

I'm starting a process in C# and then sending Windows messages to that process with SendMessage. Usually I send the messages to Process.MainWindowHandle, but in some instances I might need to find a child window handle and send messages there instead. How would I do that in C# and what are the options for finding child windows (ie do a need to know the name of the window or are there other options)?


看看EnumChildWindows(pinvoke.net)

链接地址: http://www.djcxy.com/p/6618.html

上一篇: 获取进程的所有窗口句柄

下一篇: 在C#中获取子窗口句柄