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
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
See also
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla