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.

40 lines
984 B

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: 05/02/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: VideoWnd.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of VideoWnd.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __VIDEO__WND__INCLUDED__
  15. #define __VIDEO__WND__INCLUDED__
  16. #pragma once
  17. #include "..\..\LgLib\Video\DirectShowVideo.h"
  18. class CVideoWnd :
  19. public CWnd,
  20. public CDirectShowVideo
  21. {
  22. DECLARE_DYNAMIC(CVideoWnd)
  23. public:
  24. CVideoWnd();
  25. virtual ~CVideoWnd();
  26. protected:
  27. virtual void OnVideoSample( double SampleTime ) { if( IsWindowVisible() ) InvalidateRect( NULL ); }
  28. protected:
  29. DECLARE_MESSAGE_MAP()
  30. public:
  31. BOOL Create(CWnd* pParent, int x, int y, int cx, int cy, int r);
  32. };
  33. #endif