BCM_SETTEXTMARGIN message
The BCM_SETTEXTMARGIN message sets the margins for drawing text in a button control.
Parameters
- wParam
-
Not used; must be zero.
- lParam
-
A pointer to a RECT structure that specifies the margins to use for drawing text.
Return value
If the message succeeds, it returns TRUE. Otherwise it returns FALSE.
Remarks
Note To use this message, you must provide a manifest specifying Comclt32.dll version 6.0. For more information on manifests, see Enabling Visual Styles.
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
See also
- Reference
- Button_SetTextMargin
- Conceptual
- Buttons
Send comments about this topic to Microsoft
Build date: 10/27/2012