Explore posts in the same categories: Cocoa,
MacOSX,
NSWindow,
Objective-C,
Programming,
Sample Code
This entry was posted
on December 18, 2007 at 8:16 pm and is filed under Cocoa, MacOSX, NSWindow, Objective-C, Programming, Sample Code.
You can subscribe via RSS 2.0 feed to this post's comments.
You can comment below, or link to this permanent URL from your own site.
March 23, 2008 at 6:11 pm
Thanks a lot, this works great, and helps avoid some ridiculous bugs I was getting when resizing when I didn’t want to allow it. One minor change that I think looks a bit more “official” is instead of using setHidden: YES for the NSWindowZoomButton, using setEnabled: NO. But its a minor change and personal preference, thank you for this code!