Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Unrevised from 8.0 to 8.1.
8.0 version

selected-window

Arguments: parent-stream

Returns the child window of a window or the screen (as specified by the argument parent-stream) which is considered to be selected. Specifically, if the window specified by the argument currently contains the focus, then the child that also currently contains the focus is returned. Otherwise if the window has had the focus and the child window that most recently had the focus still exists and is in normal or maximized state, then that child is returned. Otherwise the frontmost window which is in normal or maximized state is returned.

This function returns a window even when Lisp is not the currently selected application. To return the selected top-level window only if Lisp is the currently selected application, use foreground-window.

See also get-focus.


Copyright (c) 1998-2009, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. This page was not revised from the 8.0 page.
Created 2009.7.29.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Unrevised from 8.0 to 8.1.
8.0 version