MonobjcMonobjc Documented Class Library
MakeWindowsPerformInOrder Method (aSelector, flag)
NamespacesMonobjc.AppKitNSApplicationMakeWindowsPerformInOrder(IntPtr, Boolean)

Sends the specified message to each of the application’s window objects until one returns a non-nil value.

Original signature is '- (NSWindow *)makeWindowsPerform:(SEL)aSelector inOrder:(BOOL)flag'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSWindow MakeWindowsPerformInOrder(
	IntPtr aSelector,
	bool flag
Public Overridable Function MakeWindowsPerformInOrder ( _
	aSelector As IntPtr, _
	flag As Boolean _
) As NSWindow
virtual NSWindow^ MakeWindowsPerformInOrder(
	IntPtr aSelector, 
	bool flag
aSelector (IntPtr)
The selector to perform on each window. This method must not take any arguments and must return a value whose type that can be compared to nil.
flag (Boolean)
If YES, the aSelector message is sent to each of the window server’s onscreen windows, going in z-order, until one returns a non-nil value. A minimized window is not considered to be onscreen for this check. If NO, the message is sent to all windows in NSApp’s window list, regardless of whether or not they are onscreen. This order is unspecified.
Return Value
The window that returned a non-nil value or nil if all windows returned nil from aSelector.
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)