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

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 05/02/2003
// PROJECT:
// SUBSYSTEM:
// FILE: VideoWnd.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of VideoWnd.h
//----------------------------------------------------------------------------
#ifndef __VIDEO__WND__INCLUDED__
#define __VIDEO__WND__INCLUDED__
#pragma once
#include "..\..\LgLib\Video\DirectShowVideo.h"
class CVideoWnd :
public CWnd,
public CDirectShowVideo
{
DECLARE_DYNAMIC(CVideoWnd)
public:
CVideoWnd();
virtual ~CVideoWnd();
protected:
virtual void OnVideoSample( double SampleTime ) { if( IsWindowVisible() ) InvalidateRect( NULL ); }
protected:
DECLARE_MESSAGE_MAP()
public:
BOOL Create(CWnd* pParent, int x, int y, int cx, int cy, int r);
};
#endif