How do I inhibi the I beam cursor in a NSTextView
How do I inhibi the I beam cursor in a NSTextView
- Subject: How do I inhibi the I beam cursor in a NSTextView
- From: Tom Gray <email@hidden>
- Date: Wed, 14 Aug 2002 00:13:12 -0400
Once, again and as always, thanks in advance,!
How do I make a subclass of NSTextView not display the I beam cursor?
I have created a subclass of NSTextView for the display of a VT-100 terminal
emulator. It runs great except that if I "click" in the terminal an I beam
cursor appears where I have clicked. I don't want that. The cursor (a green
rectangle) is controlled by a server somewhere and the user should not be
able to "place an insertion point" in the terminal (though I want him to be
able to select text.)
I have chased around with NSTextViews shouldDrawInsertionPoint and with
drawInsertionPointInRect:color:turnedOn to no avail.
--
Tom Gray
email@hidden
or
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.