VC 遍历窗口所有子控件。

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

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