#include <WaveOpen.h>
Inheritance diagram for CWaveOpen:


Protected Member Functions | |
| afx_msg void | OnBtnPlay () |
| virtual BOOL | OnInitDialog () |
Private Attributes | |
| virtual DECLARE_DYNAMIC(CWaveOpen) public voi | OnFileNameChange )() |
|
|
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 }
|
|
|
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 }
|
|
|
|
1.3.9.1