summaryrefslogtreecommitdiffabout
path: root/DragPad.h
Side-by-side diff
Diffstat (limited to 'DragPad.h') (more/less context) (show whitespace changes)
-rw-r--r--DragPad.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/DragPad.h b/DragPad.h
new file mode 100644
index 0000000..b5f67f2
--- a/dev/null
+++ b/DragPad.h
@@ -0,0 +1,62 @@
+// DragPad.h : header file
+//
+
+/////////////////////////////////////////////////////////////////////////////
+// CDragPad dialog
+
+class CDragPad;
+class CDUTarget : public COleDropTarget {
+public:
+ CDragPad* m_Pad;
+ DROPEFFECT m_dropAsEntered;
+
+ virtual DROPEFFECT OnDragEnter(CWnd* pWnd,COleDataObject* pDO,DWORD dwKeyState,CPoint pt);
+ virtual DROPEFFECT OnDragOver(CWnd* pWnd,COleDataObject* pDO,DWORD dwKeyState,CPoint pt);
+ virtual DROPEFFECT OnDropEx(CWnd* pWnd,COleDataObject* pDO,DROPEFFECT dropDefault,DROPEFFECT dropList,CPoint pt);
+};
+
+class CDipstickDlg;
+class CDragPad : public CDialog
+{
+// Construction
+public:
+ CDUTarget m_DropTarget;
+ virtual BOOL PreTranslateMessage(MSG* pMsg);
+ void ToggleMainWindowDisplay();
+ CDipstickDlg *m_Daddy;
+ ~CDragPad();
+ CDragPad(CWnd* pParent = NULL); // standard constructor
+
+// Dialog Data
+ //{{AFX_DATA(CDragPad)
+ enum { IDD = IDD_DRAGPAD };
+ CAnimateCtrl m_DragNDropTarget;
+ //}}AFX_DATA
+
+
+// Overrides
+ // ClassWizard generated virtual function overrides
+ //{{AFX_VIRTUAL(CDragPad)
+ protected:
+ virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
+ virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
+ //}}AFX_VIRTUAL
+
+// Implementation
+protected:
+ CToolTipCtrl m_tooltip;
+
+ // Generated message map functions
+ //{{AFX_MSG(CDragPad)
+ virtual BOOL OnInitDialog();
+ afx_msg void OnWindowPosChanged(WINDOWPOS FAR* lpwndpos);
+ afx_msg BOOL OnNcActivate(BOOL bActive);
+ afx_msg void OnDestroy();
+ afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
+ afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
+ afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
+ afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
+ afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
+ //}}AFX_MSG
+ DECLARE_MESSAGE_MAP()
+};