VC 遍历窗口所有子控件。
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();
}