共用方式為


CPagerCtrl::GetButtonSize

Retrieves the button size of the current pager control.

int GetButtonSize() const;

Requirements

Header: afxcmn.h

Return Value

The current button size, measured in pixels.

Remarks

This method sends the PGM_GETBUTTONSIZE message, which is described in the Windows SDK.

If the pager control has the PGS_HORZ style, the button size determines the width of the pager buttons, and if the pager control has the PGS_VERT style, the button size determines the height of the pager buttons. For more information, see Pager Control Styles.

See Also

Reference

CPagerCtrl Class

Hierarchy Chart

PGM_GETBUTTONSIZE

CPagerCtrl::SetButtonSize