#include <DlgSounds.h>
Public Types | |
| enum | { IDD = IDD_SOUNDS } |
Public Member Functions | |
| CDlgSounds (CWnd *pParent=NULL) | |
Public Attributes | |
| CListCtrl | m_wndSnds |
Protected Member Functions | |
| virtual void | DoDataExchange (CDataExchange *pDX) |
| int | GetCurSelSnd () |
| CString | GetSndFile (int iItem) |
| void | UpdateEnabled () |
| void | PrepareCHMgr (CPoint point) |
| void | ApplyLanguage () |
| virtual BOOL | OnInitDialog () |
| afx_msg void | OnContextMenu (CWnd *pWnd, CPoint point) |
| afx_msg BOOL | OnHelpInfo (HELPINFO *pHelpInfo) |
| afx_msg void | OnWhatisthis () |
| afx_msg void | OnClickSounds (NMHDR *pNMHDR, LRESULT *pResult) |
| afx_msg void | OnDblclkSounds (NMHDR *pNMHDR, LRESULT *pResult) |
| afx_msg void | OnSetsound () |
| afx_msg void | OnRemove () |
| afx_msg void | OnTest () |
| virtual void | OnOK () |
Private Member Functions | |
| CString | SndFile (CString strSndFile) |
Definition at line 13 of file DlgSounds.h.
| anonymous enum |
| CDlgSounds::CDlgSounds | ( | CWnd * | pParent = NULL |
) |
Definition at line 16 of file DlgSounds.cpp.
| void CDlgSounds::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
| int CDlgSounds::GetCurSelSnd | ( | ) | [protected] |
Definition at line 293 of file DlgSounds.cpp.
References m_wndSnds, NULL, and pos().
Referenced by OnSetsound(), and OnTest().
| CString CDlgSounds::GetSndFile | ( | int | iItem | ) | [protected] |
Definition at line 281 of file DlgSounds.cpp.
References L_NOSOUND, LS, and m_wndSnds.
Referenced by OnOK(), OnSetsound(), and OnTest().
| void CDlgSounds::UpdateEnabled | ( | ) | [protected] |
Definition at line 178 of file DlgSounds.cpp.
References BOOL, FALSE, IDC_REMOVE, IDC_SETSOUND, IDC_TEST, L_NOSOUND, LS, m_wndSnds, pos(), and TRUE.
Referenced by OnClickSounds(), OnInitDialog(), OnRemove(), and OnSetsound().
| void CDlgSounds::PrepareCHMgr | ( | CPoint | point | ) | [protected] |
Definition at line 123 of file DlgSounds.cpp.
References _CHMgr, IDC_REMOVE, IDC_SETSOUND, IDC_SOUNDS, IDC_TEST, L_ACCEPTCHANGES, L_DIALFAILEDHERE, L_DIALOKHERE, L_DLADDEDHERE, L_DLCOMPLETEDHERE, L_DLFAILEDHERE, L_DONTACCEPTCHANGES, L_NOACTIVEDOWNLOADSSNDHERE, L_REMOVESOUNDHERE, L_SETSOUNDHERE, L_SNDEVENTSHERE, L_TESTSOUNDHERE, LS, m_wndSnds, and fsContextHelpMgr::PrepareContextMenu().
Referenced by OnContextMenu(), and OnHelpInfo().
| void CDlgSounds::ApplyLanguage | ( | ) | [protected] |
Definition at line 111 of file DlgSounds.cpp.
References _LngMgr, fsMFCLangMgr::ApplyLanguage(), IDC_REMOVE, IDC_SETSOUND, IDC_TEST, L_CANCEL, L_CUSTOMIZESOUNDS, L_REMOVE, L_SETSOUND, and L_TEST.
Referenced by OnInitDialog().
| BOOL CDlgSounds::OnInitDialog | ( | ) | [protected, virtual] |
Definition at line 45 of file DlgSounds.cpp.
References _App, ApplyLanguage(), L_DIALINGFAILED, L_DIALINGSUCCEDED, L_DOWNLOADADDED, L_DOWNLOADCOMPLETE, L_DOWNLOADFAILED, L_EVENT, L_NOACTIVEDOWNLOADS, L_SOUND, LS, m_wndSnds, fsAppSettings::Snd_DialingFailed(), fsAppSettings::Snd_DialingOK(), fsAppSettings::Snd_DownloadAdded(), fsAppSettings::Snd_DownloadComplete(), fsAppSettings::Snd_DownloadFailed(), fsAppSettings::Snd_NoActiveDownloads(), SndFile(), TRUE, and UpdateEnabled().
| void CDlgSounds::OnContextMenu | ( | CWnd * | pWnd, | |
| CPoint | point | |||
| ) | [protected] |
Definition at line 79 of file DlgSounds.cpp.
References _CHMgr, PrepareCHMgr(), and fsContextHelpMgr::ShowMenu().
| BOOL CDlgSounds::OnHelpInfo | ( | HELPINFO * | pHelpInfo | ) | [protected] |
Definition at line 85 of file DlgSounds.cpp.
References _CHMgr, FALSE, NULL, fsContextHelpMgr::OnWT(), PrepareCHMgr(), and TRUE.
| void CDlgSounds::OnWhatisthis | ( | ) | [protected] |
| void CDlgSounds::OnClickSounds | ( | NMHDR * | pNMHDR, | |
| LRESULT * | pResult | |||
| ) | [protected] |
| void CDlgSounds::OnDblclkSounds | ( | NMHDR * | pNMHDR, | |
| LRESULT * | pResult | |||
| ) | [protected] |
| void CDlgSounds::OnSetsound | ( | ) | [protected] |
Definition at line 218 of file DlgSounds.cpp.
References _DlgMgr, fsDialogsMgr::DoModal(), GetCurSelSnd(), GetSndFile(), L_SOUNDFILES, LOG, LS, m_wndSnds, nl, TRUE, and UpdateEnabled().
Referenced by OnDblclkSounds().
| void CDlgSounds::OnRemove | ( | ) | [protected] |
Definition at line 250 of file DlgSounds.cpp.
References L_NOSOUND, LS, m_wndSnds, pos(), and UpdateEnabled().
| void CDlgSounds::OnTest | ( | ) | [protected] |
Definition at line 262 of file DlgSounds.cpp.
References _Snds, GetCurSelSnd(), GetSndFile(), and fsSoundsMgr::PlaySnd().
| void CDlgSounds::OnOK | ( | ) | [protected, virtual] |
Definition at line 267 of file DlgSounds.cpp.
References _App, _Snds, GetSndFile(), fsSoundsMgr::ReadSettings(), fsAppSettings::Snd_DialingFailed(), fsAppSettings::Snd_DialingOK(), fsAppSettings::Snd_DownloadAdded(), fsAppSettings::Snd_DownloadComplete(), fsAppSettings::Snd_DownloadFailed(), and fsAppSettings::Snd_NoActiveDownloads().
| CString CDlgSounds::SndFile | ( | CString | strSndFile | ) | [private] |
| CListCtrl CDlgSounds::m_wndSnds |
Definition at line 21 of file DlgSounds.h.
Referenced by DoDataExchange(), GetCurSelSnd(), GetSndFile(), OnDblclkSounds(), OnInitDialog(), OnRemove(), OnSetsound(), PrepareCHMgr(), and UpdateEnabled().
1.5.6