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.

42 lines
1005 B

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 19/04/2000
  5. // Last modification: 08/10/2003
  6. // Project Intruder Position Indicator
  7. // SUBSYSTEM: MessageDlg
  8. // FILE: MessageDlg.h
  9. // AUTHOR: Chizhevskiy Sergey
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of class CMessageDlg
  13. //----------------------------------------------------------------------------
  14. #ifndef __MESSAGEDLG__H__INCLUDED__
  15. #define __MESSAGEDLG__H__INCLUDED__
  16. //#include "Indicator.h"
  17. class CMessageDlg {
  18. public:
  19. CMessageDlg();
  20. ~CMessageDlg();
  21. BOOL Create(HWND, LPPOINT, LPSIZE);
  22. void SetWindowText(LPCTSTR pStr);
  23. void SetTimeText(LPCTSTR) const;
  24. // 23/04/2001
  25. HWND GetItemHWND() const;
  26. private:
  27. BOOL OnMessage(HWND, UINT, WPARAM, LPARAM);
  28. friend BOOL CALLBACK WndProcMessageDlg(HWND, UINT, WPARAM, LPARAM);
  29. private:
  30. HWND m_hWnd;
  31. };
  32. #endif