CWnd* pwndChild = GetWindow(GW_CHILD);
while (pwndChild)
{
//....to do sth.
pwndChild = pwndChild->GetNextWindow();
}
CWnd* pwndChild = GetWindow(GW_CHILD);
while (pwndChild)
{
//....to do sth.
pwndChild = pwndChild->GetNextWindow();
}
转载于:https://www.cnblogs.com/aoyihuashao/archive/2010/01/19/1651434.html