1   /************************************************************************
  2           Copy Handler 1.x - program for copying data in Microsoft Windows
  3                                                    systems.
  4           Copyright (C) 2001-2004 Ixen Gerthannes (copyhandler@o2.pl)
  5  
  6           This program is free software; you can redistribute it and/or modify
  7           it under the terms of the GNU General Public License as published by
  8           the Free Software Foundation; either version 2 of the License, or
  9           (at your option) any later version.
  10  
  11           This program is distributed in the hope that it will be useful,
  12           but WITHOUT ANY WARRANTY; without even the implied warranty of
  13           MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14           GNU General Public License for more details.
  15  
  16           You should have received a copy of the GNU General Public License
  17           along with this program; if not, write to the Free Software
  18           Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19   *************************************************************************/
  20   #ifndef __FFLISTCTRL_H__
  21   #define __FFLISTCTRL_H__
  22  
  23   /////////////////////////////////////////////////////////////////////////////
  24   // CFFListCtrl window
  25   #define LVN_CHANGEDSELECTION    WM_USER+10
  26  
  27   class CFFListCtrl : public CListCtrl
  28   {
  29   // Construction
  30   public:
  31           CFFListCtrl();
  32  
  33   // Attributes
  34   public:
  35  
  36   // Operations
  37   public:
  38  
  39   // Overrides
  40           // ClassWizard generated virtual function overrides
  41           //{{AFX_VIRTUAL(CFFListCtrl)
  42           //}}AFX_VIRTUAL
  43  
  44   // Implementation
  45   public:
  46           void SendSelChangedToParent();
  47           void LimitItems(int iLimit);
  48           virtual ~CFFListCtrl();
  49  
  50           // Generated message map functions
  51   protected:
  52           //{{AFX_MSG(CFFListCtrl)
  53           afx_msg BOOL OnEraseBkgnd(CDC*);
  54           afx_msg void OnPaint();
  55           afx_msg void OnItemchanged(NMHDR* pNMHDR, LRESULT* pResult);
  56           //}}AFX_MSG
  57  
  58           DECLARE_MESSAGE_MAP()
  59   };
  60  
  61   /////////////////////////////////////////////////////////////////////////////
  62  
  63   //{{AFX_INSERT_LOCATION}}
  64   // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  65  
  66   #endif