Düzenle

Aracılığıyla paylaş


BCM_SETTEXTMARGIN message

Sets the margins used to draw text in a button control. You can send this message explicitly or use the Button_SetTextMargin macro.

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

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h

See also

Reference

Button_SetTextMargin

Conceptual

Buttons