//重载WM_SIZE void CMyFormView::OnSize(UINT nType, int cx, int cy) { CFormView::OnSize(nType, cx, cy); ShowScrollBar(SB_BOTH,FALSE); // TODO: Add your message handler code here }