MonobjcMonobjc Documented Class Library
WindowNumberAtPointBelowWindowWithWindowNumber Method (point, windowNumber)
NamespacesMonobjc.AppKitNSWindowWindowNumberAtPointBelowWindowWithWindowNumber(NSPoint, NSInteger)

Returns the number of the frontmost window that would be hit by a mouse-down at the specified screen location.

Original signature is '+ (NSInteger)windowNumberAtPoint:(NSPoint)point belowWindowWithWindowNumber:(NSInteger)windowNumber'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSInteger WindowNumberAtPointBelowWindowWithWindowNumber(
	NSPoint point,
	NSInteger windowNumber
)
Public Shared Function WindowNumberAtPointBelowWindowWithWindowNumber ( _
	point As NSPoint, _
	windowNumber As NSInteger _
) As NSInteger
public:
static NSInteger WindowNumberAtPointBelowWindowWithWindowNumber(
	NSPoint point, 
	NSInteger windowNumber
)
Parameters
point (NSPoint)
The location of the mouse-down in screen coordinates.
windowNumber (NSInteger)
If non-0, the search will start below windowNumber window in z-order.
Return Value
The window number of the window under the point. The window number returned may correspond to a window in another application.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)