Back to index

lightning-sunbird  0.9+nobinonly
PropDlg.h
Go to the documentation of this file.
00001 // PropDlg.h : header file
00002 //
00003 
00005 // PropDlg dialog
00006 
00007 class PropDlg : public CDialog
00008 {
00009 // Construction
00010 public:
00011        PropDlg(CWnd* pParent = NULL);   // standard constructor
00012 
00013 // Dialog Data
00014        //{{AFX_DATA(PropDlg)
00015        enum { IDD = IDD_ENTRY_PROPERTIES };
00016               // NOTE: the ClassWizard will add data members here
00017        //}}AFX_DATA
00018 
00019        void SetTitle( const char *str ) { m_title = str; }
00020 
00021 private:
00022        CListBox m_list;
00023        CStringList m_strings;
00024        CString m_title;
00025 
00026 // Overrides
00027        // ClassWizard generated virtual function overrides
00028        //{{AFX_VIRTUAL(PropDlg)
00029        protected:
00030        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00031        //}}AFX_VIRTUAL
00032 
00033 // Implementation
00034 public:
00035        void AddLine( const char *line );
00036 
00037 protected:
00038 
00039        // Generated message map functions
00040        //{{AFX_MSG(PropDlg)
00041        afx_msg void OnSize(UINT nType, int cx, int cy);
00042        virtual BOOL OnInitDialog();
00043        //}}AFX_MSG
00044        DECLARE_MESSAGE_MAP()
00045 };