作者:翟志军2502905177 | 来源:互联网 | 2023-10-13 10:17
BringWindowToTop();解决控件重叠问题voidCDLDownLoad::OnLButtonDown(UINTnFlags,CPointpoint){TODO:在此添
BringWindowToTop(); //解决控件重叠问题
void CDLDownLoad::OnLButtonDown(UINT nFlags, CPoint point)
{
// TODO: 在此添加消息处理程序代码和/或调用默认值
CDialogEx::OnLButtonDown(nFlags, point);
PostMessage(WM_NCLBUTTONDOWN,HTCAPTION,MAKELPARAM(point.x, point.y));//使窗口可拖动
}
ModifyStyleEx(WS_EX_APPWINDOW,WS_EX_TOOLWINDOW);//使窗口不在任务栏显示