Contents Index Topic Contents | ||
Previous Topic: TB_SETMAXTEXTROWS Next Topic: TB_SETPARENT |
TB_SETPADDING
TB_SETPADDING wParam = 0; lParam = MAKELPARAM(cx, cy);Sets the padding for a toolbar control.
- Returns a DWORD value that contains the previous horizontal padding in the low word and the previous vertical padding in the high word, in pixels.
- cx
- The horizontal padding, in pixels.
- cy
- The vertical padding, in pixels.
The padding values are used to create a blank area between the edge of the button and the button's image and/or text. The horizontal padding value is applied to both the right and left of the button, and the vertical padding value is applied to both the top and bottom of the button. Padding is only applied to buttons that have the TBSTYLE_AUTOSIZE style.
Version 4.71
See also TB_GETPADDING
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.