Skip to content

Latest commit

 

History

History
91 lines (68 loc) · 3.56 KB

nf-commctrl-pager_setscrollinfo.md

File metadata and controls

91 lines (68 loc) · 3.56 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:commctrl.Pager_SetScrollInfo
Pager_SetScrollInfo macro (commctrl.h)
Sets the scrolling parameters of the pager control, including the timeout value, the lines per timeout, and the pixels per line. You can use this macro or send the PGM_SETSETSCROLLINFO message explicitly.
Pager_SetScrollInfo
Pager_SetScrollInfo macro [Windows Controls]
_win32_Pager_SetScrollInfo
_win32_Pager_SetScrollInfo_cpp
commctrl/Pager_SetScrollInfo
controls.Pager_SetScrollInfo
controls._win32_Pager_SetScrollInfo
controls\Pager_SetScrollInfo.htm
Controls
VS|Controls|~\controls\pager\macros\pager_setscrollinfo.htm
12/05/2018
Pager_SetScrollInfo, Pager_SetScrollInfo macro [Windows Controls], _win32_Pager_SetScrollInfo, _win32_Pager_SetScrollInfo_cpp, commctrl/Pager_SetScrollInfo, controls.Pager_SetScrollInfo, controls._win32_Pager_SetScrollInfo
commctrl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
Pager_SetScrollInfo
commctrl/Pager_SetScrollInfo
c++
APIRef
kbSyntax
HeaderDef
Commctrl.h
Pager_SetScrollInfo

Pager_SetScrollInfo macro

-description

[Intended for internal use; not recommended for use in applications. This macro may not be supported in future versions of Windows.]

Sets the scrolling parameters of the pager control, including the timeout value, the lines per timeout, and the pixels per line. You can use this macro or send the PGM_SETSETSCROLLINFO message explicitly.

-parameters

-param hwnd

Type: HWND

Handle to the pager control.

-param cTimeOut

Type: UINT

The timeout value for the scroll, in milliseconds.

-param cLinesPer

Type: UINT

The number of lines to scroll per timeout.

-param cPixelsPerLine

Type: UINT

The number of pixels per line.

-remarks

This cTimeOut parameter controls the rate at which the pager control generates scrolling events when the control has captured the mouse input and the left mouse button is pressed. Smaller values result in faster scrolling; larger values result in slower scrolling. The default value is one-eighth of the double-click time. For more information, see GetDoubleClickTime.

By default, with each scrolling event the pager control scrolls an amount equal to the entire width or height of the control, depending on whether the pager control has a horizontal or vertical orientation. The cLinesPer and cPixelsPerLine parameters are used to override the default scrolling amount. If nonzero values are provided, the scrolling amount is the product of the two values (cLinesPer * cPixelsPerLine).

-see-also

PGM_SETSETSCROLLINFO