Resize sides without NSWindow border in Lion

In Lion, the standard resizing method for windows has changed from the lower right corner to all sides, with an invisible area to click and drag. I have a borderless custom window similar to the App Store on which I would like to have this resize (I currently have a custom viewer in the lower right corner). I searched for β€œ10.7” in the NSWindow documentation, but none of the new posts seem to offer a way to enable this.

Thanks.

+7
source share
1 answer

I don’t know which object is responsible for setting it up, but NSWindow now has tracking areas at the corners and edges (Open Quartz Debug and check "Show tracking rectangles" to see what I mean). You can emulate this behavior without too much difficulty - this is the basic geometry.

+5
source

All Articles