IB Hassle: NSButton Over NSQuickDrawView
IB Hassle: NSButton Over NSQuickDrawView
- Subject: IB Hassle: NSButton Over NSQuickDrawView
- From: Lance Drake <email@hidden>
- Date: Thu, 19 Feb 2004 16:18:20 -0700
Hi CocoaDev Folks,
Would some kind soul please help me snap out of this dilemma?
In a window - there is custom view set to my class (QDview)
which is a subclass of an NSQuickDraw view.
Placed 'over' the 'QDView' display area there is an NSButton
In the NIB, it does not seem possible to get the QDView to be
positioned in the NIB hierarchy to be IN BACK OF (lower than) the
NSButton.
Despite an 'Arrange In Front' menu selection - where the QDView
'seems to be in back of the button, when viewing the IB List of
objects, the QDView appears ABOVE the NSButton in the list and
there seems to be no way to get it to be BELOW.
When drawing, the QDView obscures the NSButton - which does
respond to mouse clicks and is drawn until the QDView is redrawn,
where it is again obscured.
Regardless of whether the QDView is in an enclosing custom view
and the button is also included in that view or if the button is
deposited into the main window and moved over the QDView, there
seems no way to get the QDView to be lower in the NIB hierarchy.
Q: How would YOU draw a QD image into a window and put a button on
top of it?
Thanks!
Lance Drake
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.