Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!chico.pa.dec.com!klee From: klee@chico.pa.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: multiple access to a window. Message-ID: <2276@bacchus.dec.com> Date: 14 Dec 89 23:21:27 GMT References: <8912121957.AA11397@mycroft.mayo.edu> Sender: news@decwrl.dec.com Reply-To: klee@decwrl.dec.com Organization: DEC Western Software Laboratory Lines: 18 In article <8912121957.AA11397@mycroft.mayo.edu>, bmc@MYCROFT.MAYO.EDU writes: > 1) Is it possible for two (or more) clients to share a window (InputOutput)? Yes. > 2) How do I make the necessary connections? > --trying to pass the window ID results in a protocol error. How did you pass the window ID? Depending on your IPC mechanism, you may have to swap bytes, etc. If the client that creates the window is parent of the other clients, you can simply pass the window ID on through the exec argv. Otherwise, you can use a socket, pipe, or (shudder) window property. Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@decwrl.dec.com uucp: uunet!decwrl!klee