capSetScrollPos macro (vfw.h)

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.

Syntax

void capSetScrollPos(
   hwnd,
   lpP
);

Parameters

hwnd

Handle to a capture window.

lpP

Address to contain the desired scroll position.

Return value

None

Remarks

The scroll position affects the image in both preview and overlay modes.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h

See also

Video Capture

Video Capture Macros