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.

61 lines
1.7 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: LgMaskScheduleEditDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of LgMaskScheduleEditDlg.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __HZ__MASK__SCHEDULE__EDIT__DLG__H__INCLUDED__
  15. #define __HZ__MASK__SCHEDULE__EDIT__DLG__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. #include "LgMaskSchedule.h"
  20. class LGMASKSCHEDULE_API CLgMaskScheduleEditDlg
  21. {
  22. public:
  23. CLgMaskScheduleEditDlg();
  24. virtual ~CLgMaskScheduleEditDlg();
  25. public:
  26. UINT DoModal( CLgMaskSchedule* pMaskSchedule, CLgMaskScheduleLgsArray *pArray, HWND hParent, PMASK_SCHEDULE pSchedule );
  27. void Destroy();
  28. private:
  29. LRESULT OnDestroy( WPARAM, LPARAM );
  30. LRESULT OnCommand( WPARAM, LPARAM );
  31. LRESULT OnInitDialog( WPARAM, LPARAM );
  32. LRESULT OnNotify( WPARAM, LPARAM );
  33. LRESULT OnLvnItemChanged( WPARAM, LPARAM );
  34. private:
  35. void OnButtonCancel();
  36. void OnButtonOk();
  37. void OnCheckHzEnable();
  38. void OnCheckSpecialDay();
  39. private:
  40. void InitListControl();
  41. void OnCheckButtonMask( UINT nCtrlId );
  42. static BOOL CALLBACK WindowProc_( HWND, UINT, WPARAM, LPARAM );
  43. virtual BOOL WindowProc( UINT, WPARAM, LPARAM );
  44. private:
  45. HWND m_hWnd;
  46. HBITMAP m_hButtonBitmaps[40];
  47. CLgMaskSchedule *m_pMaskSchedule;
  48. PMASK_SCHEDULE m_pSchedule;
  49. CLgMaskScheduleLgsArray *m_pMaskScheduleLgsArray;
  50. };
  51. #endif