Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
3/28/2014
This message sets the widths of the left and right margins for an edit control. The message redraws the control to reflect the new margins.
Syntax
EM_SETMARGINS
wParam = (WPARAM) fwMargin;
lParam = (LPARAM)MAKELONG(wLeft, wRight);
Parameters
fwMargin
Specifies the margins to set. The following table shows the possible values, which you can combine.Value
Description
EC_LEFTMARGIN
Sets the left margin.
EC_RIGHTMARGIN
Sets the right margin.
- wLeft
Value of the low-order word of lParam. Specifies the width of the left margin, in pixels. This value is ignored if fwMargin does not include EC_LEFTMARGIN.
- wRight
Value of the high-order word of lParam. Specifies the width of the right margin, in pixels. This value is ignored if fwMargin does not include EC_RIGHTMARGIN.
Return Value
None.
Requirements
Header |
windows.h |