开发者

Odd NSView display performance

I am adding a custom NSView to my NSWindow's content view. Whenever I go to interact with any subviews of this new NSView (some NSTextFields, an NSMatrix, NSPopUpButton and NSButton), that specific part of the 开发者_如何学Cview seems to disappear and show the subview.

The parts of the view that go missing never return. Does anyone know what would be causing this?

Thanks in advance.


Looks like this is a common problem. I ended up having to add this view as a child window of my application's window.

This link was very useful: http://blog.stuntaz.org/cocoa/2009/11/03/nswindow-overlay.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜