⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 geodropview.h

📁 类似flashget下载工具代码 本来想在完善了上传的
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -