Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!sol!emory!stiatl!meo From: meo@stiatl.UUCP (Miles O'Neal) Newsgroups: comp.windows.x Subject: Re: Getting window Id's with the pointer Message-ID: <8351@stiatl.UUCP> Date: 27 Dec 89 03:53:38 GMT Organization: Sales Technologies Inc., "The Little Shop of Horrors..." Lines: 17 In article <33380@ucbvax.BERKELEY.EDU> garys@earth.cchem.berkeley.edu (Gary Shea) writes: |Hi folks. I have two kinds of widgets in a project i'm |working on. One sends, the other receives. They don't know |each other's id's, and expect to communicate after some kind |of picking operation with the mouse provides them with each other's |id's, be it widget or window. Once the id's are available, |they'll use XSendEvent to talk to oneanother. If you can find some way to use the action procs within each widget, they get provided with the widget's ID as their first argument. Once you have the widget IDs, you of course have the window IDS, as well, if that's what you really want... Are they to work in the same application, or in different aps? -Miles O'Neal {yr fave backbone here}!emory!stiatl!meo