Function

NSWindowList

Gets information about onscreen windows.

Declaration

void NSWindowList(NSInteger size, NSInteger *list);

Discussion

Provides an ordered list of all onscreen windows. It fills list with up to size window numbers; the order of windows in the array is the same as their order in the window server’s screen list (their front-to-back order on the screen). Use the count obtained by NSCountWindows to specify the size of the array for this function.

See Also

Auxiliary Functions

NSDrawColorTiledRects

Draws a colored bordered rectangle.

NSInterfaceStyleForKey

Returns an interface style value for the specified key and responder.

Deprecated
NSSetShowsServicesMenuItem

Specifies whether an item should be included in Services menus.

NSCopyBits

Copies a bitmap image to the location specified by a destination point.

Deprecated
NSCountWindows

Counts the number of onscreen windows.

Deprecated
NSCountWindowsForContext

Counts the number of onscreen windows belonging to a particular application.

Deprecated
NSShowsServicesMenuItem

Specifies whether a Services menu item is currently enabled.

NSDottedFrameRect

Draws a bordered rectangle.

NSWindowListForContext

Gets information about an application’s onscreen windows.

Deprecated
NSReadPixel

Reads the color of the pixel at the specified location.

Deprecated
NSGetWindowServerMemory

Returns the amount of memory being used by a context.

Deprecated