Re: Programatically resizing a window
Re: Programatically resizing a window
- Subject: Re: Programatically resizing a window
- From: Milton Sagen <email@hidden>
- Date: Wed, 15 Dec 2004 11:56:33 -0800
On Dec 15, 2004, at 11:41, Michael Heinz wrote:
That was the first problem - while I found the method for taking a
NSWindow pointer and getting the matching document, there doesn't seem
to be a way to go from an NSDocument to the corresponding NSWindow.
Fortunately, I was able to extract that information from a custom view
that's already in the application.
You can always get the window controllers for the document and from the
controllers the corresponding windows.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden