MyListBoxView.h
资源名称:FTP总集.rar [点击查看]
上传用户:tjfeida
上传日期:2013-03-10
资源大小:1917k
文件大小:2k
源码类别:
Ftp客户端
开发平台:
Visual C++
- #if !defined(AFX_MYLISTBOXVIEW_H__272AC135_05DB_4896_8338_F404AE72807A__INCLUDED_)
- #define AFX_MYLISTBOXVIEW_H__272AC135_05DB_4896_8338_F404AE72807A__INCLUDED_
- /*********************************************
- **该文件是属于WolfFTP工程中的。如果有什么问题
- **请联系
- ** tablejiang@21cn.com
- **或者访问
- ** http://wolfftp.51.net
- **以得到最新的支持。
- *********************************************/
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // MyListBoxView.h : header file
- //
- #include "afxwin.h"
- #include "FtpObject.h"
- #include "Share.h"
- #include "QuickFtpDoc.h"
- #include "ColorEdit.h"
- #define TEXT_COLOR_COMMAND RGB( 100 , 200 , 100 )
- #define TEXT_COLOR_REPLY RGB( 100 , 100 , 10 )
- #define TEXT_COLOR_STATUS RGB( 20 , 20 , 250 )
- /////////////////////////////////////////////////////////////////////////////
- // CMyListBoxView view
- class CMyInfoView : public CView
- {
- protected:
- CMyInfoView(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(CMyInfoView)
- // Attributes
- public:
- // Operations
- public:
- BOOL InsertString( LPCTSTR string );
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMyListBoxView)
- public:
- virtual void OnInitialUpdate();
- protected:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- //}}AFX_VIRTUAL
- // Implementation
- public:
- CQuickFTPDoc* GetDocument();
- protected:
- virtual ~CMyInfoView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMyListBoxView)
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam) ;
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- protected:
- CColorEdit m_Edit ;
- public:
- HWND m_hFtpDirListWnd ;
- };
- //#ifndef _DEBUG // debug version in QuickFTPView.cpp
- //inline CQuickFTPDoc* CQuickFTPView::GetDocument()
- // { return (CQuickFTPDoc*)m_pDocument; }
- //#endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MYLISTBOXVIEW_H__272AC135_05DB_4896_8338_F404AE72807A__INCLUDED_)