 |
 |
Z-Order of NSImageViews?
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2000
Status:
Offline
|
|
I have two image views. One is smaller than the other and should be on top. It is on top in IB. I build my program.. now it is in the wrong order... Can I programmatically move one to the top or do something in IB? Thanks 
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Nov 2001
Location: State of Denial
Status:
Offline
|
|
Yeah, I've noticed this as well...I threw together a nib with some transparent buttons overlaying some other content...but in the final application, the buttons are underneath the content...
|
|
[Wevah setPostCount:[Wevah postCount] + 1];
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2000
Status:
Offline
|
|
Originally posted by Wevah:
Yeah, I've noticed this as well...I threw together a nib with some transparent buttons overlaying some other content...but in the final application, the buttons are underneath the content...
Ever find out a solution? I guess not  Surely there's some sort of fix... anyone?
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
I assume you've tried "Bring to Front" and "Send to Back," right?
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2000
Status:
Offline
|
|
Originally posted by Chuckit:
I assume you've tried "Bring to Front" and "Send to Back," right?
Yeah done that. Again, it looks fine in IB.. compiles and messes up. I think I will just have to do a messy work around unfortunately.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Overlapping sibling NSViews are not supported. That's the official word whenever people have asked, I think.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2000
Status:
Offline
|
|
Originally posted by Angus_D:
Overlapping sibling NSViews are not supported. That's the official word whenever people have asked, I think.
I did a workaround where I drew a frameless window over the thing which had an image view over it... it works... but is there a way to also make the NSView transparent while having the NSImageView still display? Essentially all I want drawn is the NSImageView, I don't want the NSView to have a white background... possible? Thanks 
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Nov 2001
Location: State of Denial
Status:
Offline
|
|
Oh...I ended up putting the view I wanted in front in the back...and sure enough, it was in front in the final build.
*shrug*
|
|
[Wevah setPostCount:[Wevah postCount] + 1];
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2000
Status:
Offline
|
|
Originally posted by Wevah:
Oh...I ended up putting the view I wanted in front in the back...and sure enough, it was in front in the final build.
*shrug*
and it works  Weird! At least it works  But I still have the question about making the background of the NSView transparent so that all you see is the NSImageView (the image in it is transparent and I want the desktop to show underneath) Thanks for anymore help.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|