GME  13
DialogList.h
Go to the documentation of this file.
00001 #if !defined(AFX_DIALOGLIST_H__5D30C6D3_4070_11D4_9A91_00902721DB65__INCLUDED_)
00002 #define AFX_DIALOGLIST_H__5D30C6D3_4070_11D4_9A91_00902721DB65__INCLUDED_
00003 
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007 // DialogList.h : header file
00008 //
00009 
00011 // CDialogList dialog
00012 
00013 class CDialogList : public CDialog
00014 {
00015 // Construction
00016 public:
00017         typedef enum { CHKTEXT_NONE, CHKTEXT_ONETIMER, CHKTEXT_STICKY } dialogmode;
00018         CDialogList ( CString       _caption
00019                 , dialogmode    _mode=CHKTEXT_NONE
00020                 , bool          hasIgnore = false
00021                 , CWnd*         pParent = NULL
00022                 );
00023 
00024 // Dialog Data
00025         //{{AFX_DATA(CDialogList)
00026         enum { IDD = IDD_DIALOG_LIST };
00027         CButton m_btnIgnore;
00028         CButton mcb_check_once;
00029         CListBox        m_list;
00030         CString m_sz_listselection;
00031         BOOL    mb_check_once;
00032         //}}AFX_DATA
00033 
00034 
00035 // Overrides
00036         // ClassWizard generated virtual function overrides
00037         //{{AFX_VIRTUAL(CDialogList)
00038         protected:
00039         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00040         //}}AFX_VIRTUAL
00041 
00042 // Implementation
00043 protected:
00044 
00045         // Generated message map functions
00046         //{{AFX_MSG(CDialogList)
00047         virtual BOOL OnInitDialog();
00048         virtual void OnOK();
00049         afx_msg void OnButtonIgnore();
00050         afx_msg void OnDblclkList();
00051         afx_msg void OnChangeList();
00052         //}}AFX_MSG
00053         DECLARE_MESSAGE_MAP()
00054 
00055 
00056 public:
00057         CStringList m_sz_prelist;
00058         int mn_selection_index;
00059         CString m_caption;
00060         CString m_checkboxtext;
00061 
00062 private:
00063         dialogmode cb_mode;
00064     bool       m_hasIgnore;
00065 };
00066 
00067 //{{AFX_INSERT_LOCATION}}
00068 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00069 
00070 #endif // !defined(AFX_DIALOGLIST_H__5D30C6D3_4070_11D4_9A91_00902721DB65__INCLUDED_)