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