The capSetScrollPos macro defines the portion of the video frame to display in the capture window. This message sets the upper left corner of the client area of the capture window to the coordinates of a specified pixel within the video frame. You can use this macro or explicitly call the WM_CAP_SET_SCROLL message.
BOOL capSetScrollPos(
hwnd,
lpP
);
Returns TRUE if successful or FALSE otherwise.
The scroll position affects the image in both preview and overlay modes.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Video Capture Overview, Video Capture Macros, WM_CAP_SET_SCROLL