EM_SETEXTENDEDSTYLE message

Informs the edit control to set extended styles. Send this message or use the macro Edit_SetExtendedStyle.

Parameters

wParam

Mask used to select the styles to be set.

lParam

Value that indicates the extended style. For more information on styles, see Edit Control Extended Styles.

Return value

If this message succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The extended styles for an edit control have nothing to do with the extended styles used with function CreateWindowEx or function SetWindowLong.

Requirements

Requirement Value
Minimum supported client
Windows 10, version 1809 [desktop apps only]
Minimum supported server
Windows Server 2019 [desktop apps only]
Header
Commctrl.h