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
public delegate bool WindowShouldZoomToFrameEventHandler(
NSWindow window,
NSRect newFrame
)
Public Delegate Function WindowShouldZoomToFrameEventHandler ( _
window As NSWindow, _
newFrame As NSRect _
) As Boolean
public delegate bool WindowShouldZoomToFrameEventHandler(
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)