拖动无标题栏的对话框(MFC)

 

void CdialogpanelDlg::OnLButtonDown(UINT nFlags, CPoint point)
{
 // TODO: 在此添加消息处理程序代码和/或调用默认值
 SendMessage(WM_SYSCOMMAND,0xF012,0);

 CDialog::OnLButtonDown(nFlags, point);
}

你可能感兴趣的:(拖动无标题栏的对话框(MFC))