rendered paste body// DragDialogDlg.h : header file//#pragma once// CDragDialogDlg dialogclass CDragDialogDlg : public CDialog{// Constructionpublic: CDragDialogDlg(CWnd* pParent = NULL); // standard constructor// Dialog Data enum { IDD = IDD_DRAGDIALOG_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support// Implementationprotected: HICON m_hIcon; // Generated message map functions virtual BOOL OnInitDialog(); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); DECLARE_MESSAGE_MAP()public: afx_msg UINT OnNcHitTest(CPoint point); afx_msg void OnLButtonDown(UINT nFlags, CPoint point); afx_msg void OnLButtonUp(UINT nFlags, CPoint point); bool m_mousedown; };