开发者

EnumChildWindows doesn't return direct children

I am trying to create an application that dumps all processes and their children controls to a text file. I used EnumChildWindow but it visits all children including chi开发者_开发知识库ldren's childdren. I can't create hierarchy using this method. Is there another way of doing this?

Thanks


You should instead use FindWindowEx() and specify NULL for the hwndChildAfter parameter.

This will enumerate all direct descendant child windows.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜