// DragDialogDlg.h : header file // #pragma once // CDragDialogDlg dialog class CDragDialogDlg : public CDialog { // Construction public: CDragDialogDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data enum { IDD = IDD_DRAGDIALOG_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support // Implementation protected: 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; };