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.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: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: HZMaskDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of HZMaskDlg.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __HZ__MASK__DLG__H__INCLUDED__
  15. #define __HZ__MASK__DLG__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. #include "DialogItemsPosition.h"
  20. #include "GenericWnd.h"
  21. class CApplication;
  22. class CHZMaskDlg :
  23. public CGenericWnd
  24. {
  25. public:
  26. CHZMaskDlg();
  27. virtual ~CHZMaskDlg();
  28. public:
  29. BOOL Create( CApplication* pApplication, HWND hParent, INT x, INT y, INT cx, INT cy );
  30. public:
  31. void SetViewZoneCheck( INT n, BOOL fEnable );
  32. void EnableButton( INT n, BOOL fEnable );
  33. private:
  34. virtual LRESULT OnDestroy( WPARAM, LPARAM );
  35. virtual LRESULT OnCommand( WPARAM, LPARAM );
  36. virtual LRESULT OnInitDialog( WPARAM, LPARAM );
  37. virtual LRESULT OnMove( WPARAM, LPARAM );
  38. virtual LRESULT OnSize( WPARAM, LPARAM );
  39. virtual LRESULT OnEraseBackground( WPARAM, LPARAM );
  40. private:
  41. void OnPaint( HDC );
  42. private:
  43. void OnCheckButtonMask( UINT nCtrlId );
  44. HBITMAP m_hButtonBitmaps[40];
  45. private:
  46. CApplication* m_pApplication;
  47. private:
  48. CDialogItemsPosition m_DialogItemsPosition;
  49. };
  50. #endif