Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!brutus.cs.uiuc.edu!psuvax1!gatech!hubcap!saurez.eng.clemson.edu!jaysun From: jaysun@saurez.eng.clemson.edu (Jay Williamson) Newsgroups: comp.graphics Subject: RETAINED canvas in SunView Message-ID: <6633@hubcap.clemson.edu> Date: 29 Sep 89 03:26:01 GMT Sender: news@hubcap.clemson.edu Reply-To: jaysun@saurez.eng.clemson.edu (Jay Williamson) Organization: Clemson University Engineering Department Lines: 29 Keywords:SunView, canvas Does anyone have any idea why a canvas will not allow itself to be retained????? This is the situation: init_bw_canvas() { canvas_panel = window_create(frame, CANVAS, CANVAS_FAST_MONO, TRUE, WIN_EVENT_PROC, mouse_for_canvas, 0); window_set(canvas_panel, WIN_CURSOR, my_cross_hairs, 0); window_set(canvas_panel, CANVAS_RETAINED, FALSE, 0); pw = (Pixwin *) window_get(canvas_panel, WIN_PIXWIN); window_set(canvas_panel, CANVAS_RETAINED, TRUE, 0); } I have tried all combinations of placing CANVAS_RETAINED attr. but to no avail. No matter what I do the canvas will not redraw itself if covered and then uncovered with another window. I do not have my own repaint proc and so I have no idea why it won't do the right thing. Helppppppp...... Jay Williamson Engineering Computer Operations jaysun@eng.clemson.edu Clemson University Jay Williamson Engineering Computer Operations jaysun@eng.clemson.edu Clemson University |---------------------------------------------------------|