Back to index

lightning-sunbird  0.9+nobinonly
SrchDlg.h
Go to the documentation of this file.
00001 // SrchDlg.h : header file
00002 //
00003 
00005 // SearchDlg dialog
00006 
00007 class SearchDlg : public CDialog
00008 {
00009 // Construction
00010 public:
00011        SearchDlg(CWnd* pParent = NULL);   // standard constructor
00012 
00013 public:
00014        void SetScope( int scope ) { m_scope = scope; }
00015        int GetScope() { return m_scope; }
00016 
00017 private:
00018        int m_scope;
00019 
00020 public:
00021 // Dialog Data
00022        //{{AFX_DATA(SearchDlg)
00023        enum { IDD = IDD_SEARCH_DIALOG };
00024        CString       m_searchBase;
00025        CString       m_searchFilter;
00026        //}}AFX_DATA
00027 
00028 
00029 // Overrides
00030        // ClassWizard generated virtual function overrides
00031        //{{AFX_VIRTUAL(SearchDlg)
00032        protected:
00033        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00034        //}}AFX_VIRTUAL
00035 
00036 // Implementation
00037 protected:
00038 
00039        // Generated message map functions
00040        //{{AFX_MSG(SearchDlg)
00041        virtual BOOL OnInitDialog();
00042        afx_msg void OnScopeBase();
00043        afx_msg void OnScopeOne();
00044        afx_msg void OnScopeSub();
00045        //}}AFX_MSG
00046        DECLARE_MESSAGE_MAP()
00047 };