|
capPreviewScale
The capPreviewScale macro enables or disables scaling of the preview video images. If scaling is
enabled, the captured video frame is stretched to the dimensions of the capture
window. You can use this macro or explicitly call the WM_CAP_SET_SCALE message.
BOOL capPreviewScale(
Parameters
hwnd
Handle of a capture window.
f
Preview scaling flag. Specify TRUE for this parameter to stretch preview
frames to the size of the capture window or FALSE to display them at their natural
size.
Return Values
Returns TRUE if successful or FALSE otherwise.
Remarks
Scaling preview images controls the immediate presentation of captured frames
within the capture window. It has no effect on the size of the frames saved to
file.
Scaling has no effect when using overlay to display video in the frame buffer.
See Also
WM_CAP_SET_SCALE
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|