Re: NSTextView in About Box
Re: NSTextView in About Box
- Subject: Re: NSTextView in About Box
- From: Jonathan Wight <email@hidden>
- Date: Fri, 11 Jul 2003 16:33:43 -0500
Ugh. Should have done more research before posting!
On 07/11/2003 15:12, "Jonathan Wight" <email@hidden> wrote:
>
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?
Turns out that the cursor is displayed - sometimes. The order of the windows
seems to make a difference. Oh well - at least now I have a handle on it.
>
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).
Turns out the about box is in the list of windows - I misread my own data.
What an idjit!
Sorry for the wasted bandwidth.
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.