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.

64 lines
1.5 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: 29/07/2002
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: HZMaskScheduleEditDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of HZMaskScheduleEditDlg.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 "HZMaskSchedule.h"
  20. class CApplication;
  21. class CHZMaskScheduleEditDlg
  22. {
  23. public:
  24. CHZMaskScheduleEditDlg();
  25. virtual ~CHZMaskScheduleEditDlg();
  26. public:
  27. UINT DoModal( CApplication* pApplication, HWND hParent, CHZMaskSchedule::PHZ_SCHEDULE pSchedule );
  28. void Destroy();
  29. private:
  30. LRESULT OnDestroy( WPARAM, LPARAM );
  31. LRESULT OnCommand( WPARAM, LPARAM );
  32. LRESULT OnInitDialog( WPARAM, LPARAM );
  33. private:
  34. void OnButtonCancel();
  35. void OnButtonOk();
  36. void OnCheckHzEnable();
  37. void OnCheckSpecialDay();
  38. private:
  39. static BOOL CALLBACK WindowProc_( HWND, UINT, WPARAM, LPARAM );
  40. virtual BOOL WindowProc( UINT, WPARAM, LPARAM );
  41. private:
  42. HWND m_hWnd;
  43. private:
  44. void OnCheckButtonMask( UINT nCtrlId );
  45. HBITMAP m_hButtonBitmaps[40];
  46. private:
  47. CApplication* m_pApplication;
  48. private:
  49. CHZMaskSchedule::PHZ_SCHEDULE m_pSchedule;
  50. };
  51. #endif