📄 vfwwnd.htm
字号:
<html>
<head>
<title>CAVICapWnd v1.11</title>
<link rel="stylesheet" type="text/css" href="./naughter.css">
</head>
<body>
<h2><img border="0" src="vfwwnd.gif" width="49" height="33">CAVICapWnd v1.11</h2>
<p>Welcome to CAVICapWnd, A freeware MFC class to encapsulate the Video For Windows
API.</p>
<p> </p>
<table border="0">
<tr>
<td><a href="#Features">Features</a></td>
</tr>
<tr>
<td><a href="#Copyright">Copyright</a></td>
</tr>
<tr>
<td><a href="#Usage">Usage</a></td>
</tr>
<tr>
<td><a href="#History">History</a></td>
</tr>
<tr>
<td><a href="#Contact">Contacting the Author</a></td>
</tr>
</table>
<p> </p>
<p> </p>
<h2><a name="Features"></a>Features
</h2>
<p>CAVICapWnd provides a familiar MFC interface to the VFW API's. The class derives
from CWnd and translates the message based VFW API into standard C++ methods. To
see the class in action examine the source code of the VidCap project which produces
a complete sample application for the class. </p>
<p> </p>
<p> </p>
<p> </p>
<h2><a name="Copyright"></a>Copyright</h2>
<ul>
<li>You are allowed to include the source code in any product (commercial, shareware,
freeware or otherwise) when your product is released in binary form.</li>
<li>You are allowed to modify the source code in any way you want except you
cannot modify the copyright details at the top of each module.</li>
<li>If you want to distribute source code with your application, then you are
only allowed to distribute versions released by the author. This is to maintain
a single distribution point for the source code.</li>
</ul>
<p> </p>
<p> </p>
<p> </p>
<h2><a name="Usage"></a>Usage</h2>
<p>Included is a simple MFC SDI doc/view application which implements the same functionality
as the SDK example VidCap32. </p>
<p>To use CAVICapWnd in your project simply include VFWWnd.cpp from the test application
in your application and #include "VFWWnd.h" in whichever files you want to use the
class in. Then simply create an instance of the capture window using the Create
method (See CVidCapView::OnFileConnect in VidCapView.cpp). Then call the public
methods of CAVICapWnd as you desire. </p>
<p> </p>
<p> </p>
<p> </p>
<h2><a name="History"></a>History</h2>
<p><strong>V1.0 (11 October 2000) </strong></p>
<ul>
<li>Initial public release</li>
</ul>
<p><strong>V1.1 (16 October 2000)</strong> </p>
<ul>
<li>The following values have been made persistent<br>
a) The name of the capture file<br>
b) The capture frame rate<br>
c) Whether audio should be captured<br>
d) The limit capture option<br>
e) The time limit option<br>
f) The capture width, height and bit depth<br>
g) The stretch option<br>
h) The VFW device last connected to<br>
i) The audio settings<br>
j) The overlay and preview state</li>
<li>Default name of the capture file is now set to be in the same directory
as where the VidCap exe is located</li>
<li>The program auto connects if there is only one device</li>
<li>Stretching the image to the client area is now supported</li>
<li>User is now prompted to hit ok when starting to capture video</li>
<li>Sample app now handles palette messages correctly</li>
<li>The program brings up the connection dialog initially if there is
multiple devices installed.</li>
</ul>
<p><strong>V1.11 (19 December 2006)</strong></p>
<ul>
<li>Updated the copyright details</li>
<li>Updated the sample app to clean compile on VC 2005</li>
<li>Updated the documentation to use the same style as my web site.</li>
<li>Code now uses newer C++ style casts instead of C style casts.</li>
<li>Removed CAVICapWnd destructor as it was unused</li>
<li>Fixed a bug in CAVICapWnd::SetUserData where the wrong message was being
used.</li>
<li>Reviewed all TRACE statements for correctness.</li>
<li>Addition of a AVICAPWND_EXT_CLASS preprocessor macro to allow the class
to be more easily added to an extension DLL.</li>
</ul>
<p> </p>
<p> </p>
<p> </p>
<h2><a name="Contact"></a>Contacting the Author</h2>
<p>PJ Naughter<br>
Email: <a href="mailto:pjna@naughter.com">pjna@naughter.com</a><br>
Web: <a href="http://www.naughter.com">http://www.naughter.com</a><br>
19 December 2006</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -