Pager_SetButtonSizePager_SetButtonSize*
*Contents  *Index  *Topic Contents
*Previous Topic: Pager_SetBorder
*Next Topic: Pager_SetChild

Pager_SetButtonSize


int Pager_SetButtonSize(
    HWND hwndPager,
    Int iButtonSize
);

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

hwndPager
Handle to the pager control.
iButtonSize
INT value that contains the new button size, in pixels.

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.

Version 4.71

See also Pager_GetButtonSize


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.