WM_VSCROLLCLIPBOARD message

Sent to the clipboard owner by a clipboard viewer window when the clipboard contains data in the CF_OWNERDISPLAY format and an event occurs in the clipboard viewer's vertical scroll bar. The owner should scroll the clipboard image and update the scroll bar values.

#define WM_VSCROLLCLIPBOARD             0x030A

Parameters

wParam

A handle to the clipboard viewer window.

lParam

The low-order word of lParam specifies a scroll bar event. This parameter can be one of the following values.

Value Meaning
SB_BOTTOM
7
Scroll to lower right.
SB_ENDSCROLL
8
End scroll.
SB_LINEDOWN
1
Scroll one line down.
SB_LINEUP
0
Scroll one line up.
SB_PAGEDOWN
3
Scroll one page down.
SB_PAGEUP
2
Scroll one page up.
SB_THUMBPOSITION
4
Scroll to absolute position. The current position is specified by the high-order word.
SB_TOP
6
Scroll to upper left.

The high-order word of lParam specifies the current position of the scroll box if the low-order word of lParam is SB_THUMBPOSITION; otherwise, the high-order word of lParam is not used.

Return value

If an application processes this message, it should return zero.

Remarks

The clipboard owner can use the ScrollWindow function to scroll the image in the clipboard viewer window and invalidate the appropriate region.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

Reference

HIWORD

LOWORD

Conceptual

Clipboard

Other Resources

ScrollWindow