home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / x / 19203 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.4 KB  |  33 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!gumby!wupost!darwin.sura.net!mojo.eng.umd.edu!console
  3. From: console@eng.umd.edu (Console)
  4. Subject: XVIEW problem (Scrollbars and Dynamic Colors)
  5. Message-ID: <1992Nov16.212751.17621@eng.umd.edu>
  6. Date: Mon, 16 Nov 92 21:27:51 GMT
  7. Organization: Project GLUE, University of Maryland, College Park
  8. Distribution: usa
  9. Lines: 22
  10.  
  11.         I am facing two prblems with xview.  The first involves
  12. attaching srollbars to windows:
  13.  
  14.         If I have a pair of (vert + horiz) scrollbars and several
  15. windows that use them exclusively (hence only two objects need to be
  16. created), what is the correct procedure for dynamically attaching the
  17. scrollbars to the windows?  When I attach them using an xv_set to a
  18. client, strange things happen: sometimes the scrollbar shows up around
  19. the canvas, but it has not effect on it; there is a rectangular square
  20. at the corner made by the scrollbars ... etc.
  21.  
  22.         The second problem I am having has to do with the CMS.  When I
  23. try to change a subwindow's color values, the parent's color values
  24. also change.  I am not sure why that is happening.  The WIN_CMS
  25. returned by xv_get is different for the two windows and so is the
  26. color index table address.  My objective is that given an Xv_window, I
  27. want to be able to change specific color value entries for that window
  28. only.
  29.  
  30.         All help would be really appreciated.
  31.  
  32. PD
  33.