Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The EM_SETEXTENDEDSTYLEmessage sets extended styles.

Syntax

EM_SETEXTENDEDSTYLE 

wParam = (WPARAM)
dwMask;

lParam = (LPARAM)
dwExStyle;

Parameters

dwMask

DWORDvalue that specifies which styles in dwExStyleare set. This parameter can be a combination of extended styles. All other styles will be maintained as they are. If the DWORDvalue is zero, all of the styles in dwExStyleare set.

dwExStyle

DWORDvalue that specifies the extended edit control style. This parameter can be a combination of extended styles.

Return Value

Returns a DWORDthat represents the extended styles currently in use for the edit control. This value can be a combination of extended styles.

Requirements

Header windowsm.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Smartphone for Windows Mobile 2003 and later