Export (0) Print
Expand All

PGM_SETBUTTONSIZE message

Sets the current button size for the pager control. You can send this message explicitly or use the Pager_SetButtonSize macro.

Parameters

wParam
Must be zero.
lParam

Value of type int that contains the new button size, in pixels.

Return value

Returns an int value that contains the previous button size, in pixels.

Remarks

If the pager control has the PGS_HORZ style, the button size determines the width of the pager buttons. If the pager control has the PGS_VERT style, the button size determines the height of the pager buttons. By default, the pager control sets its button size to three-fourths of the width of the scroll bar.

There is a minimum size to the pager button, currently 12 pixels. However, this can change so you should not depend on this value.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

See also

PGM_GETBUTTONSIZE

 

 

Community Additions

ADD
Show:
© 2014 Microsoft