Put NSView on top of all other views?

Discussion in 'Mac Programming' started by dusanv, Jul 12, 2009.

  1. macrumors 6502

    Joined:
    Mar 1, 2006
    #1
    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.
     
  2. macrumors 6502

    Joined:
    Jul 25, 2006
    #2
    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.
     
  3. thread starter macrumors 6502

    Joined:
    Mar 1, 2006
    #3
    Thanks. I guess I'll have to go that way.
     

Share This Page