CDialDlg Class Reference

#include <DialDlg.h>

List of all members.

Public Types

enum  { IDD = IDD_DIAL }

Public Member Functions

void Init (struct fsDialInfo *dial)
 CDialDlg (CWnd *pParent)

Public Attributes

CComboBox m_wndEntries
CListCtrl m_wndLog

Static Public Attributes

static HRASCONN m_hConn = NULL

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
void PrepareCHMgr (CPoint point)
void Cancel ()
void ApplyLanguage ()
afx_msg LRESULT OnNeedEndDialog (WPARAM wp, LPARAM)
void StartConnect ()
void SleepInterval ()
void Log (LPCSTR pszRecord)
virtual BOOL OnInitDialog ()
virtual void OnCancel ()
afx_msg void OnConnect ()
afx_msg void OnContextMenu (CWnd *pWnd, CPoint point)
afx_msg void OnWhatisthis ()
afx_msg void OnAuto ()
afx_msg BOOL OnHelpInfo (HELPINFO *pHelpInfo)

Static Protected Member Functions

static VOID WINAPI _RasDialFunc (UINT, RASCONNSTATE state, DWORD dwError)

Protected Attributes

UINT m_cAgains
UINT m_cAttempts
RASDIALPARAMS m_rp
fsDialInfom_dial

Static Protected Attributes

static BOOL m_bNeedStop = FALSE
static CDialDlgm_pThis = NULL
static int m_pThisRefs = 0
static BOOL m_bInRasFunc = FALSE

Static Private Member Functions

static void Release_pThis ()


Detailed Description

Definition at line 16 of file DialDlg.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
IDD 

Definition at line 26 of file DialDlg.h.


Constructor & Destructor Documentation

CDialDlg::CDialDlg ( CWnd *  pParent  ) 

Definition at line 24 of file DialDlg.cpp.


Member Function Documentation

void CDialDlg::Init ( struct fsDialInfo dial  ) 

Definition at line 52 of file DialDlg.cpp.

References m_dial.

Referenced by fsScheduleMgr::_threadDial(), and CMainFrame::OnDial().

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

Definition at line 32 of file DialDlg.cpp.

References IDC_ENTRY, IDC_LOG, m_wndEntries, and m_wndLog.

void CDialDlg::PrepareCHMgr ( CPoint  point  )  [protected]

void CDialDlg::Cancel (  )  [protected]

Definition at line 443 of file DialDlg.cpp.

References BOOL, FALSE, fsRasHangUp(), IDC_CONNECT, m_bNeedStop, m_dial, m_hConn, m_wndEntries, NULL, Release_pThis(), and TRUE.

Referenced by _RasDialFunc(), and OnCancel().

void CDialDlg::ApplyLanguage (  )  [protected]

LRESULT CDialDlg::OnNeedEndDialog ( WPARAM  wp,
LPARAM   
) [protected]

void CDialDlg::StartConnect (  )  [protected]

void CDialDlg::SleepInterval (  )  [protected]

Definition at line 335 of file DialDlg.cpp.

References fsDialInfo::cPauseBetween, L_PAUSESECS, Log(), LS, m_bNeedStop, and m_dial.

Referenced by _RasDialFunc().

void CDialDlg::Log ( LPCSTR  pszRecord  )  [protected]

Definition at line 314 of file DialDlg.cpp.

References FALSE, and m_wndLog.

Referenced by _RasDialFunc(), OnCancel(), SleepInterval(), and StartConnect().

VOID WINAPI CDialDlg::_RasDialFunc ( UINT  ,
RASCONNSTATE  state,
DWORD  dwError 
) [static, protected]

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

void CDialDlg::OnCancel (  )  [protected, virtual]

Definition at line 324 of file DialDlg.cpp.

References Cancel(), L_CANCELED, Log(), LS, m_bInRasFunc, m_bNeedStop, and TRUE.

void CDialDlg::OnConnect (  )  [protected]

Definition at line 379 of file DialDlg.cpp.

References _App, fsAppSettings::Dial_LastEntry(), m_wndEntries, and StartConnect().

void CDialDlg::OnContextMenu ( CWnd *  pWnd,
CPoint  point 
) [protected]

Definition at line 406 of file DialDlg.cpp.

References _CHMgr, PrepareCHMgr(), and fsContextHelpMgr::ShowMenu().

void CDialDlg::OnWhatisthis (  )  [protected]

Definition at line 412 of file DialDlg.cpp.

References _CHMgr, and fsContextHelpMgr::OnWT().

void CDialDlg::OnAuto (  )  [protected]

Definition at line 417 of file DialDlg.cpp.

References _App, fsAppSettings::Dial_Auto(), and IDC_AUTO.

BOOL CDialDlg::OnHelpInfo ( HELPINFO *  pHelpInfo  )  [protected]

Definition at line 478 of file DialDlg.cpp.

References _CHMgr, FALSE, NULL, fsContextHelpMgr::OnWT(), PrepareCHMgr(), and TRUE.

void CDialDlg::Release_pThis (  )  [static, private]

Definition at line 434 of file DialDlg.cpp.

References m_pThis, m_pThisRefs, and NULL.

Referenced by _RasDialFunc(), Cancel(), OnInitDialog(), and OnNeedEndDialog().


Member Data Documentation

HRASCONN CDialDlg::m_hConn = NULL [static]

Definition at line 20 of file DialDlg.h.

Referenced by _RasDialFunc(), Cancel(), OnInitDialog(), and StartConnect().

Definition at line 27 of file DialDlg.h.

Referenced by Cancel(), DoDataExchange(), OnConnect(), OnInitDialog(), and StartConnect().

CListCtrl CDialDlg::m_wndLog

Definition at line 28 of file DialDlg.h.

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

Definition at line 44 of file DialDlg.h.

Referenced by _RasDialFunc(), and StartConnect().

BOOL CDialDlg::m_bNeedStop = FALSE [static, protected]

Definition at line 45 of file DialDlg.h.

Referenced by _RasDialFunc(), Cancel(), OnCancel(), OnInitDialog(), SleepInterval(), and StartConnect().

Definition at line 48 of file DialDlg.h.

Referenced by _RasDialFunc(), and StartConnect().

RASDIALPARAMS CDialDlg::m_rp [protected]

Definition at line 53 of file DialDlg.h.

Referenced by _RasDialFunc(), and StartConnect().

CDialDlg * CDialDlg::m_pThis = NULL [static, protected]

Definition at line 55 of file DialDlg.h.

Referenced by _RasDialFunc(), OnInitDialog(), and Release_pThis().

int CDialDlg::m_pThisRefs = 0 [static, protected]

Definition at line 57 of file DialDlg.h.

Referenced by _RasDialFunc(), OnInitDialog(), and Release_pThis().

BOOL CDialDlg::m_bInRasFunc = FALSE [static, protected]

Definition at line 60 of file DialDlg.h.

Referenced by _RasDialFunc(), and OnCancel().

Definition at line 61 of file DialDlg.h.

Referenced by _RasDialFunc(), Cancel(), Init(), OnInitDialog(), and SleepInterval().


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

Generated on Sun May 25 00:20:39 2008 by  doxygen 1.5.6