Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.9 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: SoundDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of SoundDlg.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_SOUNDDLG_H__D1D3CE21_9523_11D4_A1F8_0010B55CB330__INCLUDED_)
  15. #define AFX_SOUNDDLG_H__D1D3CE21_9523_11D4_A1F8_0010B55CB330__INCLUDED_
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. // SoundDlg.h : header file
  20. //
  21. #include "..\DLIB\SensorArray.h"
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CSoundDlg dialog
  24. class CSoundDlg : public CDialog
  25. {
  26. // Construction
  27. public:
  28. void SetSensorArray( CSensorArray *pSensorArray );
  29. CSoundDlg(CWnd* pParent = NULL); // standard constructor
  30. // Dialog Data
  31. //{{AFX_DATA(CSoundDlg)
  32. enum { IDD = IDD_SOUND_DLG };
  33. CComboBox m_cbEnable;
  34. CListCtrl m_ListZone;
  35. //}}AFX_DATA
  36. // Overrides
  37. // ClassWizard generated virtual function overrides
  38. //{{AFX_VIRTUAL(CSoundDlg)
  39. protected:
  40. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  41. //}}AFX_VIRTUAL
  42. // Implementation
  43. protected:
  44. // Generated message map functions
  45. //{{AFX_MSG(CSoundDlg)
  46. virtual BOOL OnInitDialog();
  47. afx_msg void OnDblclkListZones(NMHDR* pNMHDR, LRESULT* pResult);
  48. afx_msg void OnKillfocusComboEnable();
  49. afx_msg void OnSelchangeComboEnable();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. private:
  53. CSensorArray *m_pSensorArray;
  54. int m_nCurItem;
  55. };
  56. //{{AFX_INSERT_LOCATION}}
  57. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  58. #endif // !defined(AFX_SOUNDDLG_H__D1D3CE21_9523_11D4_A1F8_0010B55CB330__INCLUDED_)