Location:
w32std.h
TTextCursor
Supported from 5.0
Text cursor parameter information.
A text cursor is a rectangular area of a single colour which can
optionally be set to flash. A text cursor will only be visible when the window group
which owns it has the keyboard focus. This structure is used to define the
parameters of a text cursor, which can be added to a window group using
RWindowGroup::SetTextCursor().
More information about the text cursor is given in the "using" document linked to below.
Defined in TTextCursor:
EFlagNoFlash, EFlags, EType, ETypeFirst, ETypeHollowRectangle, ETypeLast, ETypeRectangle, iAscent, iColor, iFlags, iHeight, iType, iWidth
EFlags
Cursor flash flags.
Only one of the enumerated values is public.
|
EType
Cursor type flags.
A number of flags are defined in the public header file, however only the following two should be used.
|
EType iType
Cursor type flag.
This should be set to
TTextCursor::ETypeRectangle or TTextCursor::ETypeHollowRectangle.
TUint iFlags
Cursor flash flags. Either EFlagNoFlash to display
non-flashing text cursor or zero to display a flashing text cursor.
TRgb iColor
The colour of the text cursor.
If the cursor is flashing, this colour is XOR'd with the screen.