• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Superimpose a NSTextField over NSImageView? [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Superimpose a NSTextField over NSImageView? [SOLVED]
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >Re: Superimpose a NSTextField over NSImageView? (From: Erik Buck <email@hidden>)
 >Re: Superimpose a NSTextField over NSImageView? [SOLVED] (From: desktoast music productions <email@hidden>)
 >Re: Superimpose a NSTextField over NSImageView? [SOLVED] (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Re: Getting a table to resize columns. I'm doing everything right but it's not working?
  • Next by Date: Re: Getting a table to resize columns. I'm doing everything right but it's not working?
  • Previous by thread: Re: Superimpose a NSTextField over NSImageView? [SOLVED]
  • Next by thread: Re: Superimpose a NSTextField over NSImageView? [SOLVED]
  • Index(es):
    • Date
    • Thread