win32发消息触发窗口拖动

1
2
3
	::ReleaseCapture();
	::SendMessage(m_hWnd, WM_NCLBUTTONDOWN, HTCAPTION, NULL);
	::SendMessage(m_hWnd, WM_LBUTTONUP, NULL, NULL);