Calling your interactors

To get your interactors activated by a text component, override the text view functions that create the typing and selection interactors. Derive a text view from TDocumentTextView or TSimpleTextView as appropriate:

    The view maintains a pointer to this interactor, which is started by the TTextView::KeyDown function when the view receives a key event. The interactor is stopped when the view receives a mouse-down event or is deactivated.

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker