How to find a child of a parent unmanaged win32 app
问题 Basically I am looking for a win32 method to invoke in C# to set the focus to a children of an unmanaged application. But first I need to find the child control's handle which is the problem. Any useful win32 functions to solve this? 回答1: There is a library which supports enumerating and searching window handles, which is available at http://mwinapi.sourceforge.net/ Just so that you do not have to reinvent the wheel every time ;) Start with SystemWindow.AllToplevelWindows and then just dig