Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mcgill-vision!iros1!vedge!dan From: dan@vedge.UUCP (Dan Foody) Newsgroups: comp.windows.x Subject: Finding which windows are under cursor Keywords: XTranslateCoordinates Message-ID: <2117@vedge.UUCP> Date: 1 Dec 88 23:23:51 GMT Organization: Visual Edge Software, St. Laurent, Quebec Lines: 25 Is there any way to find what windows are under the cursor (or under any specific point). I want to find the second visible window from the top. This window is NOT always the parent of the window that is on the top. Both windows may have the same parent, with one window raised above the other. Using XTranslateCoordinates a few times (using the 'child' return) it is possible to find the window that is on the top and find its parent, but it is not possible to find the window directly below the top window. Is there any easy way to find this? Thanks, dan. \\ // ////// ////// // // ////// // ////// /////// ////// ////// \\ // // // // // // // // // // // // // \\ // // ////// // // ////// // //// // // // /// //// \\ // // // // // // // // // // // // // // \\// ////// ////// ////// // // ////// ////// /////// ////// ////// // Dan Foody // The views expressed are solely // // Visual Edge Software // those of the writer and are not // // St. Laurent, Quebec, // those of Visual Edge Software, // // H4R 1V4 CANADA // or of Usenet. // // decvax!musocs!vedge!dan // vedge!dan@larry.mcrcim.mcgill.edu //