EnumChildWindows returns no direct children

I am trying to create an application that dumps all processes and their child controls to a text file. I used EnumChildWindow, but it visits all children, including children. I cannot create a hierarchy using this method. Is there any other way to do this?

thanks

+2


a source to share


1 answer


Instead FindWindowEx()

should be used FindWindowEx()

and specified NULL

for the parameter hwndChildAfter

.



This will list all child child streams of child children.

0


a source







All Articles