VC 遍历窗口所有子控件。

CWnd* pwndChild = GetWindow(GW_CHILD);    
    while (pwndChild)
    {       
        //....to do sth.
        pwndChild = pwndChild->GetNextWindow();
    } 

posted @ 2010-01-19 13:17  傲衣华少  阅读(2910)  评论(0编辑  收藏  举报