geodropview.h

来自「类似flashget下载工具代码 本来想在完善了上传的」· C头文件 代码 · 共 74 行

H
74
字号
#if !defined(AFX_GEODROPVIEW_H__4229D671_FE13_42E7_ABC5_A66E4D15E515__INCLUDED_)
#define AFX_GEODROPVIEW_H__4229D671_FE13_42E7_ABC5_A66E4D15E515__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GeoDropView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CGeoDropView view

class CGeoDropView : public CView
{
public:
	
	CGeoDropView();           // protected constructor used by dynamic creation
	virtual ~CGeoDropView();
	DECLARE_DYNCREATE(CGeoDropView)
   
// Attributes
public:
    COleDropTarget m_dropTarget;
	HGLOBAL hObj;
	CWnd    *m_pFrameWnd;
	CPoint  m_TempPoint;
	CString m_Url;
	BOOL m_bIsLButtonUp;
	CPoint m_mousepos;
	BOOL m_bMove;
// Operations
public:

   	BOOL CreateView(LPCTSTR szClassName,CRect rect,CWnd* pParentWnd,UINT nID = 0,DWORD dwStyle=WS_VISIBLE);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGeoDropView)
	protected:
	
	virtual DROPEFFECT OnDragEnter(COleDataObject* pDataObject, DWORD dwKeyState, CPoint point);
	virtual DROPEFFECT OnDragOver(COleDataObject* pDataObject, DWORD dwKeyState, CPoint point);
	virtual BOOL OnDrop(COleDataObject* pDataObject, DROPEFFECT dropEffect, CPoint point);
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

// Implementation
protected:

#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CGeoDropView)
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnTimer(UINT nIDEvent);

	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GEODROPVIEW_H__4229D671_FE13_42E7_ABC5_A66E4D15E515__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?