The EM_SETBIDIOPTIONS message sets the current state of the bidirectional options in the rich edit control.
This parameter is not used; it must be zero.
Pointer to a BIDIOPTIONS structure that indicates how to set the state of the bidirectional options in the rich edit control.
This message does not return a value.
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,
Minimum supported client
|Windows 2000 Professional [desktop apps only]|
Minimum supported server
|Windows 2000 Server [desktop apps only]|
|Rich Edit 3.0|
Build date: 10/27/2012