Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version