Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!lll-tis!lll-winken!ubvax!vix From: vix@ubvax.UB.Com (Paul Vixie) Newsgroups: comp.windows.x Subject: another possibly-boneheaded question Message-ID: <6564@ubvax.UB.Com> Date: 24 Mar 88 02:19:48 GMT Reply-To: vix@ubvax.UUCP (Paul Vixie) Organization: Ungermann-Bass Enterprises Lines: 40 I'd like to use Forms full of vertically-glued Commands for a menu system. As a Command is selected in each menu, another menu needs to appear to the right of that menu. I was thinking of putting all the menus (each a Vpane actually) into a Form, gluing the Vpanes together horizontally in their Form. So in the Command callback on the outermost (leftmost) menu, I create a Vpane using the outer Form as its parent; I create lots of subwidgets in this Vpane to make it look like a menu; what do I do then? I tried calling XtRealizeWidget with the shell widget (from XtInitialize), and I tried calling XtRealizeWidget with the Vpane I just added to the outermost Form. XtRealizeWidget did nothing in either case -- but when the Command callback returns, I get a "server protocol error detected". So, how do I go about adding an item to an existing (mapped, managed, etc) Form? Can it be done? Which FM should I R? BTW, the Widget structure I'm trying to use is: ---------- Shell (from XtInitialize) Form (subwidgets glued horizontally) Vpane Label Form (vertical glue) Command Command ... Vpane Label Form (vertical glue) Command Command ... ---------- It's when I try to add that second vertically-glued Form that I'm lost. -- Paul Vixie Consultant Work: 408-562-7798 vix@ub.com vix%ubvax@uunet.uu.net Ungermann-Bass Home: 415-647-7023 {amdahl,ptsfa,pyramid,uunet}!ubvax!vix Santa Clara, CA <>