描述
The BIDIOPTIONS structure contains bidirectional information about a rich edit control. This structure is used by the EM_GETBIDIOPTIONS and EM_SETBIDIOPTIONS messages to get and set the bidirectional information for a control.
C/C++ 语法
typedef struct _bidioptions { UINT cbSize; WORD wMask; WORD wEffects; } BIDIOPTIONS; |
FreeBasic Syntax
TYPE BIDIOPTIONS cbSize AS UINT wMask AS WORD wEffects AS WORD END TYPE |
成员
cbSize
Specifies the size, in bytes, of the structure. Before passing this structure to a rich edit control, set cbSize to the size of the BIDIOPTIONS structure. The rich edit control checks the size of cbSize before sending an EM_GETBIDIOPTIONS message.
wMask
A set of mask bits that determine which of the wEffects flags will be set to 1 or 0 by the rich edit control. This approach eliminates the need to read the effects flags before changing them.
Obsolete bits are valid only for the bidirectional version of Rich Edit 1.0.
BOM_DEFPARADIR
Default paragraph direction—implies alignment (obsolete).
BOM_PLAINTEXT
Use plain text layout (obsolete).
BOM_NEUTRALOVERRIDE
Override neutral layout.
BOM_CONTEXTREADING
Context reading order.
BOM_CONTEXTALIGNMENT
Context alignment.
BOM_LEGACYBIDICLASS
Treatment of plus, minus, and slash characters in right-to-left (LTR) or bidirectional text.
wEffects
A set of flags that indicate the desired or current state of the effects flags. Obsolete bits are valid only for the bidirectional version of Rich Edit 1.0.
Obsolete bits are valid only for the bidirectional version of Rich Edit 1.0.
BOE_RTLDIR
Default paragraph direction—implies alignment (obsolete).
BOE_PLAINTEXT
Uses plain text layout (obsolete).
BOE_NEUTRALOVERRIDE
Overrides neutral layout.
BOE_CONTEXTREADING
Context reading order.
BOE_CONTEXTALIGNMENT
Context alignment.
BOE_LEGACYBIDICLASS
Causes the plus and minus characters to be treated as neutral characters with no implied direction. Also causes the slash character to be treated as a common separator.
最低操作系统
Windows 95 (Middle Eastern) with Rich Edit 3.0, Windows NT 4.0 (Middle Eastern) with Rich Edit 3.0, Windows Millennium Edition (Middle Eastern), Windows 2000 (Middle Eastern).