MFC拖动对话框时会出现刷新不完整。
则在鼠标弹起时强制刷新 Invalidate();
添加如下代码
BEGIN_MESSAGE_MAP(CClientSetParamDlg, CDialog) ON_WM_LBUTTONUP() END_MESSAGE_MAP()
void CClientSetParamDlg::OnLButtonUp(UINT nFlags, CPoint point) { Invalidate(); CDialog::OnLButtonUp(nFlags, point); }