循环通过MFC子对话框,MDIFrames等 [英] Loop through MFC Child Dialogs, MDIFrames etc

查看:113
本文介绍了循环通过MFC子对话框,MDIFrames等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法循环遍历所有MFC子对话框,MDI框架等?

Is there a way to loop through all MFC Child Dialogs, MDI frames and etc? And is there a way to find out which dialog or window I am looping through?

推荐答案

你可以使用 EnumChildWindows 来迭代特定窗口的子窗口。

You could use EnumChildWindows to iterate through child windows of certain window.

这篇关于循环通过MFC子对话框,MDIFrames等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆