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
42 lines
1.0 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 05/02/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: VideoWnd.cpp
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Source file of VideoWnd.cpp
|
|
//----------------------------------------------------------------------------
|
|
#include "stdafx.h"
|
|
#include "Calibration.h"
|
|
#include "VideoWnd.h"
|
|
|
|
IMPLEMENT_DYNAMIC(CVideoWnd, CWnd)
|
|
CVideoWnd::CVideoWnd()
|
|
{
|
|
}
|
|
|
|
CVideoWnd::~CVideoWnd()
|
|
{
|
|
}
|
|
|
|
BEGIN_MESSAGE_MAP(CVideoWnd, CWnd)
|
|
END_MESSAGE_MAP()
|
|
|
|
BOOL CVideoWnd::Create(CWnd* pParent, int x, int y, int cx, int cy,int)
|
|
{
|
|
CString strClassName = AfxRegisterWndClass( CS_HREDRAW | CS_VREDRAW, NULL, NULL, NULL );
|
|
|
|
CRect rect( x,y,x+cx,y+cy );
|
|
|
|
if( !CWnd::Create( strClassName, NULL, WS_CHILD | WS_VISIBLE, rect, pParent, 0 ) )
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
return TRUE;
|
|
}
|