Re: Making an NSWindow Resizable
Re: Making an NSWindow Resizable
- Subject: Re: Making an NSWindow Resizable
- From: Eric Schlegel <email@hidden>
- Date: Wed, 17 Mar 2004 16:06:19 -0800
On Mar 17, 2004, at 3:47 PM, Daniel Todd Currie wrote:
Yes, I just tried this last night, but it didn't work. My lamentable
foray into the world of Carbon produced some rather odd results...
ChangeWindowAttributes() as you describe returned noErr,
GetWindowClass() gives me kDocumentWindowClass, and
GetWindowAttribute confirmed that kWindowResizableAttribute had been
set.
However, the window never became resizable. I couldn't begin to guess
why, but it would seem that there are attributes of NSWindow that
Carbon can't touch.
I don't believe Cocoa looks at the attributes of the Carbon window for
things like this. It probably only checks the NSWindow style mask.
-eric
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.