请教tab控件的问题
m_tab.InsertItem(0,"项目一");
m_tab.InsertItem(1,"项目二");
m_tab.InsertItem(2,"项目三");
m_para1.Create(IDD_PARA1,GetDlgItem(IDC_TABTEST));
m_para2.Create(IDD_PARA2,GetDlgItem(IDC_TABTEST));
m_para3.Create(IDD_PARA3,GetDlgItem(IDC_TABTEST));
CRect rs;
m_tab.GetClientRect(&rs);
CString string;
rs.top=rs.top+60;
string.Format("%f",rs.top);
MessageBox(string);
rs.bottom=rs.bottom-1;
string.Format("%f",rs.bottom);
MessageBox(string);
rs.left=rs.left-1;
string.Format("%f",rs.bottom);
MessageBox(string);
rs.right=rs.right-1;
string.Format("%f",rs.bottom);
MessageBox(string);
m_para1.MoveWindow(&rs);
m_para2.MoveWindow(&rs);
m_para3.MoveWindow(&rs);
m_para1.ShowWindow(true);
m_para2.ShowWindow(false);
m_para3.ShowWindow(false);
m_tab.SetCurSel(0);
================================
m_tab.GetClientRect(&rs);
为什么GetClientRect()得到的矩形顶底左右都是0呀,请教?