MonobjcMonobjc Documented Class Library
NSApplication..::..ApplicationShouldHandleReopenHasVisibleWindowsEventHandler Delegate
NamespacesMonobjc.AppKitNSApplicationNSApplication..::..ApplicationShouldHandleReopenHasVisibleWindowsEventHandler

Sent by the application to the delegate prior to default behavior to reopen (rapp) AppleEvents.

Original signature is '- (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication hasVisibleWindows:(BOOL)flag'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool ApplicationShouldHandleReopenHasVisibleWindowsEventHandler(
	NSApplication theApplication,
	bool flag
)
Public Delegate Function ApplicationShouldHandleReopenHasVisibleWindowsEventHandler ( _
	theApplication As NSApplication, _
	flag As Boolean _
) As Boolean
public delegate bool ApplicationShouldHandleReopenHasVisibleWindowsEventHandler(
	NSApplication^ theApplication, 
	bool flag
)
Parameters
theApplication (NSApplication)
The application object.
flag (Boolean)
Indicates whether the NSApplication object found any visible windows in your application. You can use this value as an indication of whether the application would do anything if you return YES.
Return Value
YES if you want the application to perform its normal tasks or NO if you want the application to do nothing.
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)