Superimpose a NSTextField over NSImageView?
Superimpose a NSTextField over NSImageView?
- Subject: Superimpose a NSTextField over NSImageView?
- From: desktoast music productions <email@hidden>
- Date: Sun, 23 Apr 2006 14:10:16 +0200
Hello again,
Still struggling with my splash window.
I have created 2 versions so far: one with a NSWindow subclass, which
creates an NSImageView with an image provided and sets this as its
contentView.
The other version creates an instance of NSWindow, sets its attributes and
contentView, which is a IB custom View (fully covered by a NSImageView with
my splash image. I did this second version, because I thought it would be
easier to put a loading status text field in it in IB.
But it isn¹t. What ever I put on my NSImageView disappears behind the image
even in IB test mode.
I am able to load a status line into my splash window in the first version
by virtually drawing the string onto the image. But I don¹t wan¹t to redraw
it over and over with status messages that show up half a second or so...
Is there a way to superimpose a textfield on my customView/imageView inIB,
so that I can update it like any other textfield?
Is there an more convenient way to put loading status messages in a splash
window than drawing and redrawing?
Thanks,
Peter
--
peter schwaiger
desktoast music productions
http://www.autlawmusic.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