Partager via


SCRIPT_CONTROL (Windows CE 5.0)

Send Feedback

This structure provides itemization control flags to the ScriptItemize function.

typedef struct tag_SCRIPT_CONTROL {   DWORD uDefaultLanguage;   DWORD fContextDigits;   DWORD fInvertPreBoundDir;   DWORD fInvertPostBoundDir;   DWORD fLinkStringBefore;   DWORD fLinkStringAfter;   DWORD fNeutralOverride;   DWORD fNumericOverride;   DWORD fLegacyBidiClass;   DWORD fReserved; } SCRIPT_CONTROL;

Members

  • uDefaultLanguage
    Specifies the language to use when Unicode values are ambiguous. This is a LANGID, including both a primary language and a sublanguage. Used by numeric processing to select digit shape when fDigitSubstitute (see SCRIPT_STATE) is set.
  • fContextDigits
    Specifies that national digits are chosen according to the nearest previous strong text, rather than using uDefaultLanguage.
  • fInvertPreBoundDir
    By default, text at the start of the string is laid out as if it follows a strong LTR character if the base embedding level is 0, and as if it follows a strong RTL character if the base embedding level is 1.Set fInvertPreBoundDir to change the initial context to the opposite of the base embedding level.
  • fInvertPostBoundDir
    By default, text at the end of the string is laid out as if it precedes strong text of the same direction as the base embedding level. Set fInvertPreBoundDir to change the final context to the opposite of the base embedding level.
  • fLinkStringBefore
    Causes the first character of the string to be shaped as if it were joined to a previous character.
  • fLinkStringAfter
    Causes the last character of the string to be shaped as if it were joined to a following character.
  • fNeutralOverride
    Causes all neutral characters in the string to be treated as if they were strong characters of their enclosing embedding level. This locks them in place, and reordering occurs only between neutrals.
  • fNumericOverride
    Causes all numeric characters in the string to be treated as if they were strong characters of their enclosing embedding level. This locks them in place, and reordering occurs only between numeric characters.
  • fLegacyBidiClass
    Causes the plus and minus characters to be treated as neutral characters, that is, with no implied direction, and the slash character to be treated as a common separator.
  • fReserved
    Reserved. Always initialize to zero.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Usp10.h.

See Also

ScriptItemize | SCRIPT_STATE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.