home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / internet / ftptree / ftptrdlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.6 KB  |  59 lines

  1. // FTPTrDlg.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. #include "afxinet.h"
  14. #include "FTPtrCtl.h"
  15.  
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CFTPTREEDlg dialog
  18.  
  19. class CFTPTREEDlg : public CDialog
  20. {
  21. // Construction
  22. public:
  23.     CFTPTREEDlg(CWnd* pParent = NULL);  // standard constructor
  24.     ~CFTPTREEDlg();                     // custom destructor
  25.  
  26. // Dialog Data
  27.     //{{AFX_DATA(CFTPTREEDlg)
  28.     enum { IDD = IDD_FTPTREE_DIALOG };
  29.     CMyTreeCtrl m_FtpTreeCtl;
  30.     CComboBox   m_comboFtpSite;
  31.     //}}AFX_DATA
  32.  
  33.     // ClassWizard generated virtual function overrides
  34.     //{{AFX_VIRTUAL(CFTPTREEDlg)
  35.     protected:
  36.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  37.     //}}AFX_VIRTUAL
  38.  
  39. // Implementation
  40. protected:
  41.     HICON m_hIcon;
  42.     CInternetSession* m_pInetSession;
  43.     CFtpConnection* m_pFtpConnection;
  44.     CSize m_OrigSize;
  45.  
  46.  
  47.     // Generated message map functions
  48.     //{{AFX_MSG(CFTPTREEDlg)
  49.     virtual BOOL OnInitDialog();
  50.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  51.     afx_msg void OnPaint();
  52.     afx_msg HCURSOR OnQueryDragIcon();
  53.     afx_msg void OnBrowseSite();
  54.     afx_msg void OnSize(UINT nType, int cx, int cy);
  55.     afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
  56.     //}}AFX_MSG
  57.     DECLARE_MESSAGE_MAP()
  58. };
  59.