Export (0) Print
Expand All
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

EM_SETTYPOGRAPHYOPTIONS message

Sets the current state of the typography options of a rich edit control.

Parameters

wParam

Specifies one or both of the following values.

ValueMeaning
TO_ADVANCEDTYPOGRAPHY

Advanced line breaking and line formatting is turned on.

TO_SIMPLELINEBREAK

Faster line breaking for simple text (requires TO_ADVANCEDTYPOGRAPHY).

 

lParam

A mask consisting of one or more of the flags in wParam. Only the flags that are set in this mask will be set or cleared. This allows a single flag to be set or cleared without reading the current flag states.

Return value

Returns TRUE if wParam is valid, otherwise FALSE.

Remarks

Advanced line breaking is turned on automatically by the rich edit control when needed, such as for handling complex scripts like Arabic and Hebrew, and for mathematics. It’s also needed for justified paragraphs, hyphenation, and other typographic features.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

Rich Edit 3.0

Header

Richedit.h

See also

EM_GETTYPOGRAPHYOPTIONS

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.