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.

71 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: ServiceDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of ServiceDlg.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __SERVICE__DLG__H__INCLUDED__
  15. #define __SERVICE__DLG__H__INCLUDED__
  16. #include "DialogItemsPosition.h"
  17. class CApplication;
  18. class CServiceDlg
  19. {
  20. public:
  21. CServiceDlg();
  22. virtual ~CServiceDlg();
  23. public:
  24. BOOL Create( CApplication* pApplication, HWND hParent, INT x, INT y, INT cx, INT cy );
  25. void Destroy();
  26. void ShowWindow( UINT nShow );
  27. public:
  28. void SetEditCheck(BOOL fCheck);
  29. void SetSetupCheck(BOOL fCheck);
  30. void SetShowNormalCheck(BOOL fCheck);
  31. void EnableOptions(BOOL fEnable);
  32. void EnableEditor(BOOL fEnable);
  33. void EnableCameraShift(BOOL fEnable);
  34. private:
  35. LRESULT OnDestroy( WPARAM, LPARAM );
  36. LRESULT OnCommand( WPARAM, LPARAM );
  37. LRESULT OnInitDialog( WPARAM, LPARAM );
  38. LRESULT OnMove( WPARAM, LPARAM );
  39. LRESULT OnSize( WPARAM, LPARAM );
  40. LRESULT OnPaint( WPARAM, LPARAM );
  41. LRESULT OnEraseBackground( WPARAM, LPARAM );
  42. private:
  43. void OnDraw( HDC );
  44. private:
  45. static BOOL CALLBACK WindowProc_( HWND, UINT, WPARAM, LPARAM );
  46. virtual BOOL WindowProc( UINT, WPARAM, LPARAM );
  47. private:
  48. HWND m_hWnd;
  49. public:
  50. HWND GetSafeHwnd() { return m_hWnd; }
  51. private:
  52. HBITMAP m_hButtonBitmaps[40];
  53. private:
  54. CApplication* m_pApplication;
  55. private:
  56. CDialogItemsPosition m_DialogItemsPosition;
  57. };
  58. #endif