Skip navigation.
 
mlRe: Programatically resizing a window
FROM : Milton Sagen
DATE : Wed Dec 15 20:56:33 2004

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.

Related mailsAuthorDate
mlProgramatically resizing a window Michael Heinz Dec 15, 18:57
mlRe: Programatically resizing a window Stephane Sudre Dec 15, 19:06
mlRe: Programatically resizing a window j o a r Dec 15, 19:09
mlRe: Programatically resizing a window Jeff LaMarche Dec 15, 19:15
mlRe: Programatically resizing a window Michael Heinz Dec 15, 20:41
mlRe: Programatically resizing a window Michael Heinz Dec 15, 20:42
mlRe: Programatically resizing a window Michael Heinz Dec 15, 20:44
mlRe: Programatically resizing a window Milton Sagen Dec 15, 20:56
mlRe: Programatically resizing a window Michael Heinz Dec 15, 21:19
mlRe: Programatically resizing a window Henry McGilton Dec 16, 04:24
mlRe: Programatically resizing a window Tim Lucas Dec 16, 04:50