摘要:
dia1 *pFrame=new dia1;pFrame->Create(IDD_DIALOG1);pFrame->ShowWindow(SW_SHOW);pFrame->UpdateWindow();无标题栏的移动的处理方法是,是在OnLButtonDown中加上一句话。如下:voidCTsDlg::OnLButtonDown(UINTnFlags,CPointpoint){ SendMessage(WM_NCLBUTTONDOWN,HTCAPTION,MAKELPARAM(point.x,point.y));CDialog::OnLButtonDown(nFlags,po
阅读全文