How do I make an NSView move to the front of all NSViews

Posted by Dhanaraj on Stack Overflow See other posts from Stack Overflow or by Dhanaraj
Published on 2010-05-20T10:24:34Z Indexed on 2010/05/22 2:00 UTC
Read the original article Hit count: 328

Filed under:
|

Hi,

I have a super view, which has 2 subviews. These subviews are overlapped.

Whenever i choose a view from a menu, corresponding view should become the front view. i.e., it should be the font most subview.

acceptsFirswtResponder, resigns all work fine. But the mouse down events are sent to the topmost sub view which was set.

Regards, Dhana

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about nsview