how to get bit color with xview frames hi i am using xview on a sparc ipx under openwindows along with a xvideo board from parallax which enables me to use bit color i am having some problems utilizing the bit color and would greatly appreciate any help in this matter i use xview to create a frame and then create a canvas pane inside which i use to display live video my video input is bit color the problem is that my top level frame created as frame frame xv create null frame null seems to have a depth of which is propagated to my canvas i would like to know how i can set the depth of the frame to be bits i tried using the following xlib code xvisualinfo visual info int depth colormap colormap xsetwindowattributes attribs unsigned long valuemask window win xv opaque frame win xv get frame xv xid xmatchvisualinfo display screen depth truecolor visual info so far so good colormap xcreatecolormap display win visual info allocnone it dies here with a badmatch error attribs colormap colormap valuemask cwcolormap xchangewindowattributes display w valuemask attribs xsetwindowcolormap display win colormap am i using a completely wrong approach here is it possible to set the depth and colormap for a window created by xview what am i doing wrong thanks in advance for any help that i can get i would prefer a response via email although a post on the newsgroup is also okay thanks again alok alok mathur computer science engg case western reserve univ cleveland oh fairchild road cleveland oh off res email amathur alpha ces cwru edu
