backporting NSWindowDelegates windowDidEndLiveResize behaviour in OSX 10.5?
While 10.6 introduced the neat - windowDidEndLiveResize:
et al for NSWindowDelegate
, i need similar behaviour in 10.5 to avoid constantly invoking heavier functions via - windowDidResi开发者_如何学编程ze:
.
Is there a better way to support that? Or at least a way to get the specific mouse-down/-up events on the resize control?
You can try querying the inLiveResize
method from the content view of the window. When the window is resized, its content view is resized as well.
精彩评论