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.

C# | Visual Basic | Visual C++ |

- 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.

The window that returned a non-nil value or nil if all windows returned nil from aSelector.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)