Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
EM_SETBIDIOPTIONS
Collapse the table of content
Expand the table of content

EM_SETBIDIOPTIONS message

The EM_SETBIDIOPTIONS message sets the current state of the bidirectional options in the rich edit control.

Parameters

wParam

This parameter is not used; it must be zero.

lParam

Pointer to a BIDIOPTIONS structure that indicates how to set the state of the bidirectional options in the rich edit control.

Return value

This message does not return a value.

Remarks

The rich edit control must be in plain text mode or EM_SETBIDIOPTIONS will not do anything.

In plain text controls, EM_SETBIDIOPTIONS automatically determines the paragraph direction and/or alignment based on the context rules. These rules state that the direction and/or alignment is derived from the first strong character in the control. A strong character is one from which text direction can be determined (see Unicode Standard version 2.0). The paragraph direction and/or alignment is applied to the default format.

EM_SETBIDIOPTIONS only switches the default paragraph format to RTL (right to left) if it finds an RTL character,

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Redistributable

Rich Edit 3.0

Header

Richedit.h

See also

Reference
BIDIOPTIONS
EM_GETBIDIOPTIONS

 

 

Community Additions

ADD
Show:
© 2015 Microsoft