View Full Version : Put NSView on top of all other views?

Jul 12, 2009, 03:01 PM
I'm having a text balloon (custom subclass on NSView) appear in my app on a specific spot in the window. Everything works fine so long as I'm not too close to the toolbar or the edge of the windows because then, the balloon gets clipped. Is there an easy way to put the balloon on top of all others and even allow it to draw itself outside the application window? I'm looking through the docs and don't see anything. Thanks.

Jul 12, 2009, 03:31 PM
Views are strictly contained in and drawn by windows only. In order to achieve this effect, you will likely need to use a transparent child window in which to display your "balloon" view.

Jul 12, 2009, 03:41 PM
Thanks. I guess I'll have to go that way.