使对话框点任意地方都能拖动

                  使对话框点任意地方都能拖动


                          在VC6下, 只需为此对话框添加WM_LBUTTONDOWM消息函数,然后添加如下代码:


PostMessage (WM_NCLBUTTONDOWN, HTCAPTION, MAKELPARAM(point.x,point.y));

你可能感兴趣的:(原创文章,C/C++)