home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / 21411 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.4 KB

  1. Path: sparky!uunet!dtix!mimsy!sdd.comsat.com!jerry
  2. From: jerry@sdd.comsat.com (Jerry Wernimont)
  3. Newsgroups: comp.windows.x
  4. Subject: HELP.. I want to move dialogs from one screen to another
  5. Message-ID: <jerry.727632447@sdd.comsat.com>
  6. Date: 21 Jan 93 16:07:27 GMT
  7. Sender: usenet@sdd.comsat.com (USENET News Admin)
  8. Organization: SDD, COMSAT Labs, Clarksburg, MD
  9. Lines: 22
  10.  
  11.  
  12.  
  13. We are developing a system on a VAXstation 6000 that has 2 screens and
  14. I am trying to move dialogs (windows) from one screen to another.  I have
  15. been successful when I destroy all of the widgets and rebuild the 
  16. dialog on the second screen, but I would like to use the XReparentWindow
  17. to avoid all of the logic (and potential problems) with destroying all
  18. of the widgets.  The code I have tried found the window whose parent
  19. was the root window (using XQueryTree).  Once I found that window,
  20. I got the root window of screen 1 and then called XReparentWindow.  The 
  21. documentation claims that if the window is mapped, it will unmap it first
  22. and then move it as the child of the new window ("root1").  I received
  23. a BadMatch error when I tried this.  Is there any way to make this work?
  24. Is the window manager getting in the way?
  25.  
  26. Help...
  27.  
  28. --
  29.   Signed: Jerry Wernimont            Domain: jerry@sdd.comsat.com
  30.   Phone : +1-301-428-5016            Fax   : +1-301-428-3186
  31.  
  32.   USPS  : COMSAT Labs, 22300 COMSAT Drive, Clarksburg, MD 20871
  33.