From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,3c6fc03bff4c0554,start X-Google-Attributes: gid103734,public X-Google-Thread: 10b612,3c6fc03bff4c0554,start X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,3c6fc03bff4c0554,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-02-22 20:45:52 PST Path: gmdzi!unido!mcsun!ukc!edcastle!hwcs!sfleming From: sfleming@cs.hw.ac.uk (Stewart T. Fleming) Newsgroups: comp.sys.dec,comp.unix.ultrix,comp.windows.x Subject: UIL Examples required Keywords: UIL, examples, brick walls Message-ID: <2358@odin.cs.hw.ac.uk> Date: 22 Feb 91 03:07:55 GMT Sender: news@cs.hw.ac.uk Reply-To: sfleming@cs.hw.ac.uk (Stewart T. Fleming) Organization: CS Dept., Heriot-Watt University, Scotland Xref: gmdzi comp.sys.dec:3919 comp.unix.ultrix:5291 comp.windows.x:30122 I am just getting started programming with UIL; from what I find, I think I would prefer banging my head against a wall.... Does anyone know where I can find non-trivial UIL examples ? I don't have access to any general DECWindows programming documentation (that got mysteriously left out of the installation kit). Specifically, I'm having trouble getting "attached_dialog_box" widgets to size correctly on startup. object s_window : main_window { arguments { width = 0; height = 0; }; controls { list_box s_list; }; }; s_list : list_box { arguments { width = 500; visible_items_count = 15; }; }; Works correctly; the list box sizes to what I would expect. However, if I put in an attached_dialog_box as the control of the main window, the window appears about 5x5 pixels. object s_window : main_window { controls { attached_dialog_box s_dialog; }; }; object s_dialog : attached_dialog_box { controls { list_box : s_list; }; }; I assume that the small size of the window in this case is due to the margin settings of the adb. However, I would expect this to resize to the list_box size. What is going wrong here ? Am I completely off-track ? Thanks for any help, Stewart -- sfleming@cs.hw.ac.uk ...ukc!cs.hw.ac.uk!sfleming "Every political/monetary/computer system is doomed to collapse; the trick is not being there when it happens."