//初始化Tab Ctrl CTabCtrl* pTab=(CTabCtrl*)GetDlgItem(IDC_TAB_TEST); pTab->InsertItem(0,"Tab Page1"); pTab->InsertItem(1,"Tab Page2"); pTab->InsertItem(2,"Tab Page3");