Re: Superimpose a NSTextField over NSImageView? [SOLVED]
Re: Superimpose a NSTextField over NSImageView? [SOLVED]
- Subject: Re: Superimpose a NSTextField over NSImageView? [SOLVED]
- From: Henry McGilton <email@hidden>
- Date: Mon, 24 Apr 2006 08:28:16 -0700
On Apr 24, 2006, at 8:18 AM, M. Uli Kusterer wrote:
On 24/04/06, desktoast music productions <email@hidden> wrote:
Sorry, but this approach didn't work for me. I need to create the
window
programmatically and set its contentView to the NSView | NSImageView
from
IB
(the window is partially transparent and has rounded edges).
Perhaps there is a way to use the custom view from IB w|o its window
(btw.
In my "Starting Point" dialog there is "Window" only under "Carbon",
not
"Cocoa") but that would make things even more complicated.
Oh, not sure whether you're doing this, but the programming
equivalent to
the custom view thing Erik mentioned is creating your NSImageView and
then
using addSubview: to putyour text view into your image view.
I must be missing something critical here. What is wrong
with just having the image view and using the NSString
drawing additions to superimpose the text ?
Cheers,
........ Henry
===============================+============================
Henry McGilton, Boulevardier | Trilithon Software
Objective-C/Java Composer | Seroia Research
-------------------------------+----------------------------
mailto:email@hidden | http://www.trilithon.com
|
===============================+============================
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden