MonobjcMonobjc Documented Class Library
WindowShouldZoomToFrame Method (window, newFrame)
NamespacesMonobjc.AppKitINSWindowDelegateWindowShouldZoomToFrame(NSWindow, NSRect)

Asks the delegate whether the specified window should zoom to the specified frame.

Original signature is '- (BOOL)windowShouldZoom:(NSWindow *)window toFrame:(NSRect)newFrame'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool WindowShouldZoomToFrame(
	NSWindow window,
	NSRect newFrame
)
Function WindowShouldZoomToFrame ( _
	window As NSWindow, _
	newFrame As NSRect _
) As Boolean
bool WindowShouldZoomToFrame(
	NSWindow^ window, 
	NSRect newFrame
)
Parameters
window (NSWindow)
The window being zoomed.
newFrame (NSRect)
The rectangle to which the specified window is being zoomed.
Return Value
YES to allow window’s frame to become newFrame; otherwise, NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)