- Main Page
- Namespaces
- Classes
- Files
- Directories

- File List
- File Members

# FavoriteOrganizeDlg.h

    00001 /*
    00002  *      Copyright (C) 2003-2005 Gabest
    00003  *      http://www.gabest.org
    00004  *
    00005  *  This Program is free software; you can redistribute it and/or modify
    00006  *  it under the terms of the GNU General Public License as published by
    00007  *  the Free Software Foundation; either version 2, or (at your option)
    00008  *  any later version.
    00009  *
    00010  *  This Program is distributed in the hope that it will be useful,
    00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    00013  *  GNU General Public License for more details.
    00014  *
    00015  *  You should have received a copy of the GNU General Public License
    00016  *  along with GNU Make; see the file COPYING.  If not, write to
    00017  *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
    00018  *  http://www.gnu.org/copyleft/gpl.html
    00019  *
    00020  */
    00021
    00022 #pragma once
    00023 #include "afxcmn.h"
    00024 #include "afxwin.h"
    00025 #include "..\..\ui\ResizableLib\ResizableDialog.h"
    00026
    00027
    00028 // CFavoriteOrganizeDlg dialog
    00029
    00030 class CFavoriteOrganizeDlg : public CResizableDialog
    00031 {
    00032 //      DECLARE_DYNAMIC(CFavoriteOrganizeDlg)
    00033
    00034 private:
    00035         CList<CString> m_sl[3];
    00036         void SetupList(bool fSave);
    00037
    00038 public:
    00039         CFavoriteOrganizeDlg(CWnd* pParent = NULL);   // standard constructor
    00040         virtual ~CFavoriteOrganizeDlg();
    00041
    00042 // Dialog Data
    00043         enum { IDD = IDD_FAVORGANIZE };
    00044
    00045         CTabCtrl m_tab;
    00046         CListCtrl m_list;
    00047
    00048 protected:
    00049         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
    00050         virtual BOOL OnInitDialog();
    00051
    00052         DECLARE_MESSAGE_MAP()
    00053 public:
    00054         afx_msg void OnTcnSelchangeTab1(NMHDR *pNMHDR, LRESULT *pResult);
    00055         afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
    00056         afx_msg void OnBnClickedButton1();
    00057         afx_msg void OnBnClickedButton2();
    00058         afx_msg void OnBnClickedButton3();
    00059         afx_msg void OnBnClickedButton7();
    00060         afx_msg void OnTcnSelchangingTab1(NMHDR *pNMHDR, LRESULT *pResult);
    00061         afx_msg void OnBnClickedOk();
    00062         afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
    00063         afx_msg void OnLvnEndlabeleditList2(NMHDR *pNMHDR, LRESULT *pResult);
    00064         afx_msg void OnSize(UINT nType, int cx, int cy);
    00065 };