Path: utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpfcso!hpfcdq!lang From: lang@hpfcdq.HP.COM (John J. Lang) Newsgroups: comp.windows.x Subject: Re: X and HP Starbase Message-ID: <890044@hpfcdq.HP.COM> Date: 10 Nov 89 16:55:36 GMT Article-I.D.: hpfcdq.890044 References: <1320@krafla.rhi.hi.is> Organization: Hewlett-Packard - Fort Collins, CO Lines: 14 / hpfcdq:comp.windows.x / valdi@rhi.hi.is (Thorvaldur Sigurdsson) / 8:03 am Nov 8, 1989 / > My problem is how do I get > the window ID or name for reference to other X commands, e.g. > XGrabPointer(...). Should I use xwcreate with gwind (system commands) > or other commands in X. You should use normal Xlib calls to create the window rather than the xwcreate routine. Once you get the window created, use the "make_X11_gopen_string(3g)" Starbase routine to create a "device file name" for the window. Starbase recognizes a special format to indicate what the server name and Window ID is. The Starbase driver chapter about sox11 gives a good description of how to use this. John Lang