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.

53 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: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: LgMaskScheduleDlg.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. #include "LgMaskSchedule.h"
  17. class LGMASKSCHEDULE_API CLgMaskScheduleDlg
  18. {
  19. public:
  20. CLgMaskScheduleDlg();
  21. virtual ~CLgMaskScheduleDlg();
  22. public:
  23. UINT DoModal( CLgMaskSchedule* pMaskSchedule, CLgMaskScheduleLgsArray *pArray, HWND hParent );
  24. void Destroy();
  25. private:
  26. LRESULT OnDestroy( WPARAM, LPARAM );
  27. LRESULT OnCommand( WPARAM, LPARAM );
  28. LRESULT OnInitDialog( WPARAM, LPARAM );
  29. LRESULT OnMeasureItem( WPARAM, LPARAM );
  30. LRESULT OnDrawItem( WPARAM, LPARAM );
  31. private:
  32. void OnButtonAdd();
  33. void OnButtonDelete();
  34. void OnButtonEdit();
  35. void OnButtonCancel();
  36. private:
  37. static BOOL CALLBACK WindowProc_( HWND, UINT, WPARAM, LPARAM );
  38. virtual BOOL WindowProc( UINT, WPARAM, LPARAM );
  39. private:
  40. HWND m_hWnd;
  41. HBITMAP m_hButtonBitmaps[40];
  42. CLgMaskSchedule *m_pMaskSchedule;
  43. CLgMaskScheduleLgsArray *m_pMaskScheduleLgsArray;
  44. };
  45. #endif