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
1.0 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: 05/02/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: VideoWnd.cpp
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Source file of VideoWnd.cpp
  13. //----------------------------------------------------------------------------
  14. #include "stdafx.h"
  15. #include "Calibration.h"
  16. #include "VideoWnd.h"
  17. IMPLEMENT_DYNAMIC(CVideoWnd, CWnd)
  18. CVideoWnd::CVideoWnd()
  19. {
  20. }
  21. CVideoWnd::~CVideoWnd()
  22. {
  23. }
  24. BEGIN_MESSAGE_MAP(CVideoWnd, CWnd)
  25. END_MESSAGE_MAP()
  26. BOOL CVideoWnd::Create(CWnd* pParent, int x, int y, int cx, int cy,int)
  27. {
  28. CString strClassName = AfxRegisterWndClass( CS_HREDRAW | CS_VREDRAW, NULL, NULL, NULL );
  29. CRect rect( x,y,x+cx,y+cy );
  30. if( !CWnd::Create( strClassName, NULL, WS_CHILD | WS_VISIBLE, rect, pParent, 0 ) )
  31. {
  32. return FALSE;
  33. }
  34. return TRUE;
  35. }