NSTextView in About Box
NSTextView in About Box
- Subject: NSTextView in About Box
- From: Jonathan Wight <email@hidden>
- Date: Fri, 11 Jul 2003 15:12:47 -0500
1) I've got a posed NSTextView subclass that is set up to change the cursor
to the hyperlink 'finger' cursor (based on Apple's TextLinks sample code).
I've also got a Credits.html that is automagically displayed in my About
Box. Clicking on the links in the About Box works fine - but the cursor
doesn't change when it is over the links. Other NSTextViews elsewhere in the
app work fine which leads me to think that the credits in the about box are
not being rendered in an NSTextView.
Anyone know for certain if the about box does use an NSTextView? And if so,
why the cursor code should be failing?
2) I wrote some code to dump the NSView hierarchy of all NSWindows. The
default About Box doesn't seem to be in the list of windows returned by
[NSApp windows] - where is it? How would I get access to it if I needed it?
(Apart from making my own about box of course).
Jon.
_______________________________________________
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.