赞
踩
新添加一个类,基类为控件对应的类,在新类里添加mousemove消息响应。 if(nFlags == MK_LBUTTON) { ReleaseCapture(); SendMessage(WM_NCLBUTTONDOWN,HTCAPTION,0); }