OptionSoundDlg.h
上传用户:zslianheng
上传日期:2013-04-03
资源大小:946k
文件大小:2k
源码类别:

Linux/Unix编程

开发平台:

Visual C++

  1. /***************************************************************************
  2.  *                                                                         *
  3.  *   This program is free software; you can redistribute it and/or modify  *
  4.  *   it under the terms of the GNU General Public License as published by  *
  5.  *   the Free Software Foundation; either version 2 of the License, or     *
  6.  *   (at your option) any later version.                                   *
  7.  *                                                                         *
  8.  *   copyright            : (C) 2002 by Zhang Yong                         *
  9.  *   email                : z-yong163@163.com                              *
  10.  ***************************************************************************/
  11. #if !defined(AFX_OPTIONSOUNDDLG_H__591366CC_0AC3_4477_ABCB_AB8E7045061E__INCLUDED_)
  12. #define AFX_OPTIONSOUNDDLG_H__591366CC_0AC3_4477_ABCB_AB8E7045061E__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. // OptionSoundDlg.h : header file
  17. //
  18. #include "icqclient.h"
  19. /////////////////////////////////////////////////////////////////////////////
  20. // COptionSoundDlg dialog
  21. class COptionSoundDlg : public CPropertyPage
  22. {
  23. DECLARE_DYNCREATE(COptionSoundDlg)
  24. // Construction
  25. public:
  26. COptionSoundDlg();
  27. ~COptionSoundDlg();
  28. // Dialog Data
  29. //{{AFX_DATA(COptionSoundDlg)
  30. enum { IDD = IDD_OPTION_SOUND };
  31. CComboBox m_cmbSoundEvent;
  32. int m_soundOn;
  33. //}}AFX_DATA
  34. // Overrides
  35. // ClassWizard generate virtual function overrides
  36. //{{AFX_VIRTUAL(COptionSoundDlg)
  37. public:
  38. virtual void OnOK();
  39. protected:
  40. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  41. //}}AFX_VIRTUAL
  42. private:
  43. void enableControls(BOOL enable = TRUE);
  44. int curSel;
  45. CString soundFiles[NR_SOUNDS];
  46. // Implementation
  47. protected:
  48. // Generated message map functions
  49. //{{AFX_MSG(COptionSoundDlg)
  50. afx_msg void OnBrowse();
  51. afx_msg void OnPlay();
  52. afx_msg void OnSelchangeSoundEvent();
  53. virtual BOOL OnInitDialog();
  54. afx_msg void OnSoundOn();
  55. afx_msg void OnSoundOff();
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. };
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  61. #endif // !defined(AFX_OPTIONSOUNDDLG_H__591366CC_0AC3_4477_ABCB_AB8E7045061E__INCLUDED_)