Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

CWaveOpen Class Reference

#include <WaveOpen.h>

Inheritance diagram for CWaveOpen:

Inheritance graph
[legend]
Collaboration diagram for CWaveOpen:

Collaboration graph
[legend]

Protected Member Functions

afx_msg void OnBtnPlay ()
virtual BOOL OnInitDialog ()

Private Attributes

virtual DECLARE_DYNAMIC(CWaveOpen)
public voi 
OnFileNameChange )()

Member Function Documentation

void OnBtnPlay  )  [protected]
 

Definition at line 76 of file WaveOpen.cpp.

References NULL.

00077 {
00078   sndPlaySound(NULL, NULL);
00079   CString str = GetPathName();
00080   if (str.GetLength() > 0)
00081   {
00082     sndPlaySound(str, SND_FILENAME | SND_ASYNC);
00083   }
00084 }

BOOL OnInitDialog  )  [protected, virtual]
 

Definition at line 86 of file WaveOpen.cpp.

References BOOL, FALSE, and IDC_BTN_PLAY.

00087 {
00088     CFileDialog::OnInitDialog();
00089     
00090   CWnd *pWnd = GetDlgItem(IDC_BTN_PLAY);
00091   if (pWnd != NULL)
00092   {
00093     pWnd->EnableWindow(FALSE);
00094   }
00095     
00096     return TRUE;  // return TRUE unless you set the focus to a control
00097                   // EXCEPTION: OCX Property Pages should return FALSE
00098 }


Field Documentation

virtual DECLARE_DYNAMIC (CWaveOpen) public voi OnFileNameChange)() [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Aug 25 19:41:59 2005 for Quake III Arena by  doxygen 1.3.9.1