Invoked when the user closes the last window the application has open.
Original signature is '- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication'
Available in Mac OS X v10.0 and later.
|C#||Visual Basic||Visual C++|
public delegate bool ApplicationShouldTerminateAfterLastWindowClosedEventHandler( NSApplication theApplication )
Public Delegate Function ApplicationShouldTerminateAfterLastWindowClosedEventHandler ( _ theApplication As NSApplication _ ) As Boolean
- theApplication (NSApplication)
- The application object whose last window was closed.
NO if the application should not be terminated when its last window is closed; otherwise, YES to terminate the application.
Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)