Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



How to set the text cursor

A text cursor (TTextCursor) is a rectangular area of a single colour which can optionally be set to flash. It has a height, width, ascent and origin, which are illustrated the using:

Text cursor

Text cursor

The text cursor is positioned on screen by specifying an offset between its origin and the origin of a window. It can be added to a window group using RWindowGroup::SetTextCursor().

Two types of text cursor, solid and hollow may be set as parameters to SetTextCursor().