CDlgSounds Class Reference

#include <DlgSounds.h>

List of all members.

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)


Detailed Description

Definition at line 13 of file DlgSounds.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
IDD 

Definition at line 20 of file DlgSounds.h.


Constructor & Destructor Documentation

CDlgSounds::CDlgSounds ( CWnd *  pParent = NULL  ) 

Definition at line 16 of file DlgSounds.cpp.


Member Function Documentation

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

Definition at line 24 of file DlgSounds.cpp.

References IDC_SOUNDS, and m_wndSnds.

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]

void CDlgSounds::ApplyLanguage (  )  [protected]

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

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]

Definition at line 106 of file DlgSounds.cpp.

References _CHMgr, and fsContextHelpMgr::OnWT().

void CDlgSounds::OnClickSounds ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

Definition at line 202 of file DlgSounds.cpp.

References UpdateEnabled().

void CDlgSounds::OnDblclkSounds ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

Definition at line 208 of file DlgSounds.cpp.

References m_wndSnds, and OnSetsound().

void CDlgSounds::OnSetsound (  )  [protected]

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]

CString CDlgSounds::SndFile ( CString  strSndFile  )  [private]

Definition at line 171 of file DlgSounds.cpp.

References L_NOSOUND, and LS.

Referenced by OnInitDialog().


Member Data Documentation


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

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