Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!spool.mu.edu!uunet!camex!tandem!pamela From: pamela@tandem.Camex.COM (Pamela Wybieracki) Newsgroups: comp.windows.open-look Subject: Re: Problems using Dynamic colours with XView Message-ID: <1914@camex.COM> Date: 5 Apr 91 16:30:27 GMT Article-I.D.: camex.1914 References: <1330@usage.csd.unsw.oz.au> Sender: news@Camex.COM Organization: Camex Inc., Boston MA Lines: 16 In article <1330@usage.csd.unsw.oz.au> steve@cad0.arch.unsw.oz.au (Stephen Peter) writes: > >G'Day all, > >I'm having some problems trying to write an Xview based program >that creates and then alters a dynamic colour-map-segment. If the >colour map has two entries (0=back, 1=fore) everytime is fine, BUT >if I try to have more colours it doesnot seem to work. The CMS_SIZE is a create and get-only attribute. See Chapter 20.2 of xview manual. Set it to the max you expect when creating the colormap. Pamela Blalock Wybieracki pamela@camex.com Camex, Inc. 75 Kneeland St., Boston, MA 02111 Tel: (617) 426-3577