void CTestView::OnNcLButtonDown(UINT nHitTest, CPoint point) { // TODO: Add your message handler code here and/or call default if(nHitTest==HTCAPTION) ; else CView::OnNcLButtonDown(nHitTest, point); }
禁止窗口拖动代码
最新推荐文章于 2023-11-26 14:50:47 发布
void CTestView::OnNcLButtonDown(UINT nHitTest, CPoint point) { // TODO: Add your message handler code here and/or call default if(nHitTest==HTCAPTION) ; else CView::OnNcLButtonDown(nHitTest, point); }