Path: utzoo!news-server.csri.toronto.edu!rutgers!usc!sdd.hp.com!news.cs.indiana.edu!nstn.ns.ca!aucs.acadiau.ca!871579l From: 871579l@aucs.AcadiaU.ca (Todd Lowe) Newsgroups: comp.windows.open-look Subject: Some X-View programming questions Message-ID: <1991Mar9.145401.28633@aucs.AcadiaU.ca> Date: 9 Mar 91 14:54:01 GMT Reply-To: 871579l@aucs.acadiau.ca (Todd Lowe) Distribution: na Organization: School of Computer Science, Acadia Univ., Nova Scotia Lines: 33 I'm currently working on a project that requires me to program in X-view. I'm doing quite well, but I only have the distribution examples and no real documentation. There are three things I'd like to do but am not quite sure if or how they can be. 1. I have a procedure (myquitproc() that is called when the user presses a quit button I have created. I'd like this to be called also when the existing Window Close menu option is selected. 2. I have a tty in a frame created basically like this: subframe = (Frame)xv_create(frame, FRAME, FRAME_LABEL, "Command Output:", XV_WIDTH, xv_get(frame,XV_WIDTH), XV_HEIGHT, xv_get(frame,XV_HEIGHT), FRAME_SHOW_FOOTER, TRUE, NULL); tty = (Tty)xv_create(subframe, TTY, TTY_ARGV, myargv, NULL); Where subframe is the tty frame, and frame is it's parent. I'd like to be able to determine when the command 'myargv' has finished execution,and I'd like to be able to have either the Window menu disabled (so it can't be closed) or have it as a pin-able window. Neither of these I've seen in the example programs. thanks in advance, todd lowe 871579l@aucs.acadiau.ca todd@falcon.acadiau.ca