• 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?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Superimpose a NSTextField over NSImageView?


  • Subject: Re: Superimpose a NSTextField over NSImageView?
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Mon, 24 Apr 2006 17:10:58 +0200

In your particular case, there may be another solution:

 Create your window *without* the image. Then, once you have that, create an
NSColor from your image and set that as the window's background color. That
should ensure your image is drawn correctly under the text field.

 I'm doing this with a metal window in one of my apps. Haven't tried it with
an Aqua window yet, and not in a splash screen, but might work.

 Both solutions seem rather inelegant to me, though...

Cheers,
M. Uli Kusterer
------------------------------------------------------------
       "The Witnesses of TeachText are everywhere..."
                   http://www.zathras.de
 _______________________________________________
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

References: 
 >Re: Superimpose a NSTextField over NSImageView? (From: desktoast music productions <email@hidden>)

  • Prev by Date: Re: Temporary text display over NSTableView (was NSTextField over NSImageView?)
  • Next by Date: Re: Superimpose a NSTextField over NSImageView? [SOLVED]
  • Previous by thread: Re: Superimpose a NSTextField over NSImageView?
  • Next by thread: Screenshot code for Tiger
  • Index(es):
    • Date
    • Thread