运行程序可以用鼠标进行移动
void CInfoStationDlg::OnLButtonDown(UINT nFlags, CPoint point)
{
CRect rect;
GetDlgItem( IDC_STATIC_FIXSDAY)->GetClientRect( &rect );
if (rect.PtInRect(point ))
{
SendMessage(WM_SYSCOMMAND,0xF012,0);//0xF012 = SC_MOVE | HTCAPTION
}
CDialog::OnLButtonDown(nFlags, point);
}