voidCMyListCtrl::OnNcCalcSize(BOOLbCalcValidRects,NCCALCSIZE_PARAMSFAR*lpncsp){ModifyStyle(WS_HSCROLL|WS_VSCROLL,0,0);CListCtrl::OnNcCalcSize(bCalcValidRects,lpncsp);}WM_CREATE应用程序创建一个窗口WM_DESTROY一个窗口被销毁WM_MOVE移动一个窗口WM_SIZE改变一个窗口的大小WM_ACTIVATE一个窗口被激活或失去激活