Article View: comp.windows.x
Article #24308HELP.. I want to move dialogs from one screen to another
From: Jerry Wernimont
Date: Thu, 21 Jan 1993 16:07
Date: Thu, 21 Jan 1993 16:07
22 lines
1435 bytes
1435 bytes
We are developing a system on a VAXstation 6000 that has 2 screens and
I am trying to move dialogs (windows) from one screen to another. I have
been successful when I destroy all of the widgets and rebuild the
dialog on the second screen, but I would like to use the XReparentWindow
to avoid all of the logic (and potential problems) with destroying all
of the widgets. The code I have tried found the window whose parent
was the root window (using XQueryTree). Once I found that window,
I got the root window of screen 1 and then called XReparentWindow. The
documentation claims that if the window is mapped, it will unmap it first
and then move it as the child of the new window ("root1"). I received
a BadMatch error when I tried this. Is there any way to make this work?
Is the window manager getting in the way?
Help...
--
Signed: Jerry Wernimont Domain: jerry@sdd.comsat.com
Phone : +1-301-428-5016 Fax : +1-301-428-3186
USPS : COMSAT Labs, 22300 COMSAT Drive, Clarksburg, MD 20871
Technical Details
Message-ID:
<jerry.727632447@sdd.comsat.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!dtix!mimsy!sdd.comsat.com!jerryShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!mimsy!sdd.comsat.com!jerry From: jerry@sdd.comsat.com (Jerry Wernimont) Newsgroups: comp.windows.x Subject: HELP.. I want to move dialogs from one screen to another Message-ID: <jerry.727632447@sdd.comsat.com> Date: 21 Jan 93 16:07:27 GMT Sender: usenet@sdd.comsat.com (USENET News Admin) Organization: SDD, COMSAT Labs, Clarksburg, MD Lines: 22