Having a problem understanding the usage of window handles in Linux Windows (XP): I can use the Win API to control (hide/show/etc) all windows, including ones created by Laz using the handles supplied by Laz (eg Form1.Handle) - they seem to be exactly the same as Windows handles.
Linux (Ubuntu 8.04): I can find no correlation between the Laz supplied window handle (Form1.Handle), and the X11 required handle - found using 'xwininfo -int -tree' (and clicking on Form1 of testapp) As an example, Laz returned 138531872, xwininfo returned 62915166. Obviously I need to convert or look elsewhere - anybody know how or where ? As an aside to this, how do I determine the 'main/important' window handle from the list returned by 'xwininfo -int -root' (all windows belonging to root window) - these numbers dont all seem to be top level for an application either. I am using xquerytree from xwin to cycle all windows/children, but dont know how to determine which is the relevant 'top'. Thanks - SteveG _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
