Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes
SearchDlg Class Reference

#include <SrchDlg.h>

Collaboration diagram for SearchDlg:
Collaboration graph

List of all members.

Public Types


Public Member Functions

 SearchDlg (CWnd *pParent=NULL)
void SetScope (int scope)
int GetScope ()

Public Attributes

CString m_searchBase
CString m_searchFilter

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnScopeBase ()
afx_msg void OnScopeOne ()
afx_msg void OnScopeSub ()

Private Attributes

int m_scope

Detailed Description

Definition at line 7 of file SrchDlg.h.

Member Enumeration Documentation

anonymous enum

Definition at line 23 of file SrchDlg.h.

Constructor & Destructor Documentation

SearchDlg::SearchDlg ( CWnd *  pParent = NULL)

Definition at line 21 of file SrchDlg.cpp.

       : CDialog(SearchDlg::IDD, pParent)
       m_searchBase = _T("");
       m_searchFilter = _T("");

Member Function Documentation

void SearchDlg::DoDataExchange ( CDataExchange *  pDX) [protected, virtual]

Definition at line 31 of file SrchDlg.cpp.

       DDX_Text(pDX, IDC_SEARCH_BASE, m_searchBase);
       DDX_Text(pDX, IDC_SEARCH_FILTER, m_searchFilter);
int SearchDlg::GetScope ( ) [inline]

Definition at line 15 of file SrchDlg.h.

{ return m_scope; }

Here is the caller graph for this function:

BOOL SearchDlg::OnInitDialog ( ) [protected, virtual]

Definition at line 55 of file SrchDlg.cpp.


       switch( m_scope )
              case LDAP_SCOPE_SUBTREE:
                     ((CButton *)GetDlgItem( IDC_SCOPE_SUB ))->SetCheck( 1 );
              case LDAP_SCOPE_BASE:
                     ((CButton *)GetDlgItem( IDC_SCOPE_BASE ))->SetCheck( 1 );
              case LDAP_SCOPE_ONELEVEL:
                     ((CButton *)GetDlgItem( IDC_SCOPE_ONE ))->SetCheck( 1 );
       return TRUE;  // return TRUE unless you set the focus to a control
                     // EXCEPTION: OCX Property Pages should return FALSE
void SearchDlg::OnScopeBase ( ) [protected]

Definition at line 76 of file SrchDlg.cpp.

void SearchDlg::OnScopeOne ( ) [protected]

Definition at line 81 of file SrchDlg.cpp.

void SearchDlg::OnScopeSub ( ) [protected]

Definition at line 86 of file SrchDlg.cpp.

void SearchDlg::SetScope ( int  scope) [inline]

Definition at line 14 of file SrchDlg.h.

{ m_scope = scope; }

Here is the caller graph for this function:

Member Data Documentation

Definition at line 18 of file SrchDlg.h.

Definition at line 24 of file SrchDlg.h.

Definition at line 25 of file SrchDlg.h.

The documentation for this class was generated from the following files: