다음을 통해 공유


EM_SETMARGINS (Windows CE 5.0)

Send Feedback

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.

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 Values

None.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Windows.h.

See Also

EM_GETMARGINS | Edit Boxes Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.