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

📄 geodropwin.h

📁 类似flashget下载工具代码 本来想在完善了上传的
💻 H
字号:
#if !defined(AFX_GEODROPWIN_H__FCC73044_8054_4BC4_9482_4C4447E3F34D__INCLUDED_)
#define AFX_GEODROPWIN_H__FCC73044_8054_4BC4_9482_4C4447E3F34D__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CGeoDropWin window
/*************************
drop窗体,获得下载连接
*************************/
#include "GeoDropView.h"

class CGeoDropWin : public CWnd
{
// Construction
public:
	CGeoDropWin();
    BOOL CreateNew(CRect rect,CWnd* pParentWnd,UINT nID,UINT nIDMenu, \
		DWORD dwExStyle=WS_EX_CLIENTEDGE|WS_EX_LEFT|WS_EX_PALETTEWINDOW|
		WS_EX_LTRREADING|WS_EX_RIGHTSCROLLBAR, 
		DWORD dwStyle=WS_POPUP|WS_VISIBLE|WS_DLGFRAME|WS_CLIPCHILDREN|
		WS_CLIPSIBLINGS|WS_OVERLAPPED);
	
	//创建视图
	BOOL CreateView();
// Attributes
public:
   
	//父窗体
   CWnd* m_ParentWnd;
   //类名
   LPCTSTR m_szClassName; 
   //标题
   CString m_Text;
// Operations
   	long m_x;   //Mouse x
	long m_y;   //Mouse x

	CGeoDropView* m_dropView;
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGeoDropWin)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CGeoDropWin();

	// Generated message map functions
protected:
	//{{AFX_MSG(CGeoDropWin)
	afx_msg void OnSize(UINT nType, int cx, int cy);
    afx_msg void OnNcDestroy();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
    afx_msg void OnDropWnd(WPARAM wParam,LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_GEODROPWIN_H__FCC73044_8054_4BC4_9482_4C4447E3F34D__INCLUDED_)

⌨️ 快捷键说明

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