Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CConnectToDlg Class Reference

#include <DlgConnectTo.h>

Inheritance diagram for CConnectToDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_CONNECT_TO }

Public Member Functions

 CConnectToDlg (CWnd *pParent=NULL, BOOL bBrowseHost=FALSE)
void LoadItem (int nItem)

Public Attributes

CButton m_wndAdvanced
CComboBox m_wndProtocol
CButton m_wndUltrapeer
CButton m_wndPrompt
CEdit m_wndPort
CComboBox m_wndHost
CString m_sHost
BOOL m_bNoUltraPeer
int m_nPort
int m_nProtocol
CImageList m_pImages
BOOL m_bBrowseHost

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
virtual void OnOK ()
afx_msg void OnSelChangeConnectHost ()
afx_msg void OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct)
afx_msg void OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct)
afx_msg void OnCloseUpConnectProtocol ()

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 39 of file DlgConnectTo.h.


Constructor & Destructor Documentation

CConnectToDlg::CConnectToDlg CWnd *  pParent = NULL,
BOOL  bBrowseHost = FALSE
 

Definition at line 46 of file DlgConnectTo.cpp.


Member Function Documentation

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

Reimplemented from CSkinDialog.

Definition at line 57 of file DlgConnectTo.cpp.

References CSkinDialog::DoDataExchange(), IDC_CONNECT_ADVANCED, IDC_CONNECT_HOST, IDC_CONNECT_PORT, IDC_CONNECT_PROMPT, IDC_CONNECT_PROTOCOL, IDC_CONNECT_ULTRAPEER, m_bNoUltraPeer, m_nPort, m_nProtocol, m_sHost, m_wndAdvanced, m_wndHost, m_wndPort, m_wndPrompt, m_wndProtocol, and m_wndUltrapeer.

void CConnectToDlg::LoadItem int  nItem  ) 
 

Definition at line 122 of file DlgConnectTo.cpp.

References GNUTELLA_DEFAULT_PORT, m_nPort, m_nProtocol, m_sHost, PROTOCOL_G2, and theApp.

Referenced by OnInitDialog(), and OnSelChangeConnectHost().

void CConnectToDlg::OnCloseUpConnectProtocol  )  [protected]
 

Definition at line 189 of file DlgConnectTo.cpp.

References ED2K_DEFAULT_PORT, GNUTELLA_DEFAULT_PORT, m_wndHost, m_wndPort, m_wndProtocol, m_wndUltrapeer, PROTOCOL_ED2K, PROTOCOL_G1, and PROTOCOL_G2.

void CConnectToDlg::OnDrawItem int  nIDCtl,
LPDRAWITEMSTRUCT  lpDrawItemStruct
[protected]
 

Definition at line 147 of file DlgConnectTo.cpp.

References CShareazaApp::m_bRTL, CShareazaApp::m_gdiFont, m_pImages, m_wndProtocol, and theApp.

BOOL CConnectToDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 77 of file DlgConnectTo.cpp.

References CSettings::Connection, CreateMirroredBitmap(), ID_NETWORK_BROWSE_TO, ID_NETWORK_CONNECT_TO, IDB_PROTOCOLS, CSettings::sConnection::InPort, LoadItem(), m_bBrowseHost, CShareazaApp::m_bRTL, m_nPort, m_nProtocol, m_pImages, m_wndAdvanced, m_wndHost, m_wndPrompt, m_wndProtocol, m_wndUltrapeer, CSkinDialog::OnInitDialog(), CSkinDialog::SelectCaption(), Settings, CSkinDialog::SkinMe(), and theApp.

void CConnectToDlg::OnMeasureItem int  nIDCtl,
LPMEASUREITEMSTRUCT  lpMeasureItemStruct
[protected]
 

Definition at line 141 of file DlgConnectTo.cpp.

void CConnectToDlg::OnOK  )  [protected, virtual]
 

Definition at line 217 of file DlgConnectTo.cpp.

References m_nPort, m_nProtocol, m_sHost, m_wndHost, m_wndPort, and theApp.

void CConnectToDlg::OnSelChangeConnectHost  )  [protected]
 

Definition at line 134 of file DlgConnectTo.cpp.

References LoadItem(), and m_wndHost.


Member Data Documentation

BOOL CConnectToDlg::m_bBrowseHost
 

Definition at line 53 of file DlgConnectTo.h.

Referenced by OnInitDialog().

BOOL CConnectToDlg::m_bNoUltraPeer
 

Definition at line 47 of file DlgConnectTo.h.

Referenced by DoDataExchange(), and CMainWnd::OnNetworkConnectTo().

int CConnectToDlg::m_nPort
 

Definition at line 48 of file DlgConnectTo.h.

Referenced by DoDataExchange(), LoadItem(), OnInitDialog(), CMainWnd::OnNetworkBrowseTo(), CMainWnd::OnNetworkConnectTo(), and OnOK().

int CConnectToDlg::m_nProtocol
 

Definition at line 49 of file DlgConnectTo.h.

Referenced by DoDataExchange(), LoadItem(), OnInitDialog(), CMainWnd::OnNetworkConnectTo(), and OnOK().

CImageList CConnectToDlg::m_pImages
 

Definition at line 52 of file DlgConnectTo.h.

Referenced by OnDrawItem(), and OnInitDialog().

CString CConnectToDlg::m_sHost
 

Definition at line 46 of file DlgConnectTo.h.

Referenced by DoDataExchange(), LoadItem(), CMainWnd::OnNetworkBrowseTo(), CMainWnd::OnNetworkConnectTo(), and OnOK().

CButton CConnectToDlg::m_wndAdvanced
 

Definition at line 40 of file DlgConnectTo.h.

Referenced by DoDataExchange(), and OnInitDialog().

CComboBox CConnectToDlg::m_wndHost
 

Definition at line 45 of file DlgConnectTo.h.

Referenced by DoDataExchange(), OnCloseUpConnectProtocol(), OnInitDialog(), OnOK(), and OnSelChangeConnectHost().

CEdit CConnectToDlg::m_wndPort
 

Definition at line 44 of file DlgConnectTo.h.

Referenced by DoDataExchange(), OnCloseUpConnectProtocol(), and OnOK().

CButton CConnectToDlg::m_wndPrompt
 

Definition at line 43 of file DlgConnectTo.h.

Referenced by DoDataExchange(), and OnInitDialog().

CComboBox CConnectToDlg::m_wndProtocol
 

Definition at line 41 of file DlgConnectTo.h.

Referenced by DoDataExchange(), OnCloseUpConnectProtocol(), OnDrawItem(), and OnInitDialog().

CButton CConnectToDlg::m_wndUltrapeer
 

Definition at line 42 of file DlgConnectTo.h.

Referenced by DoDataExchange(), OnCloseUpConnectProtocol(), and OnInitDialog().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:05 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2