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.

60 lines
1.4 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: HZMaskScheduleDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of HZMaskScheduleDlg.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __HZ__MASK__SCHEDULE__DLG__H__INCLUDED__
  15. #define __HZ__MASK__SCHEDULE__DLG__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. class CApplication;
  20. class CHZMaskScheduleDlg
  21. {
  22. public:
  23. CHZMaskScheduleDlg();
  24. virtual ~CHZMaskScheduleDlg();
  25. public:
  26. UINT DoModal( CApplication* pApplication, HWND hParent );
  27. void Destroy();
  28. private:
  29. LRESULT OnDestroy( WPARAM, LPARAM );
  30. LRESULT OnCommand( WPARAM, LPARAM );
  31. LRESULT OnInitDialog( WPARAM, LPARAM );
  32. LRESULT OnMeasureItem( WPARAM, LPARAM );
  33. LRESULT OnDrawItem( WPARAM, LPARAM );
  34. private:
  35. void OnButtonAdd();
  36. void OnButtonDelete();
  37. void OnButtonEdit();
  38. void OnButtonCancel();
  39. private:
  40. static BOOL CALLBACK WindowProc_( HWND, UINT, WPARAM, LPARAM );
  41. virtual BOOL WindowProc( UINT, WPARAM, LPARAM );
  42. private:
  43. HWND m_hWnd;
  44. private:
  45. HBITMAP m_hButtonBitmaps[40];
  46. private:
  47. CApplication* m_pApplication;
  48. };
  49. #endif