Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!bionet!ames!uhccux!munnari.oz.au!bruce!goanna!ajk From: ajk@goanna.oz (Dr Alan Kent) Newsgroups: comp.windows.x Subject: XtCrtAppShell and resources Message-ID: <2436@goanna.oz> Date: 3 Oct 89 23:59:11 GMT Organization: Comp Sci, RMIT, Melbourne, Australia Lines: 29 Disclaimer: This is my first serious X program I have written a program using the HP widgets. It accepts database queries in an initial window then creates a new subwindow to view the results of the query. You can have multiple subwindows with concurrent queries. I use XtCreateApplicationShell("Tql", topLevelShellWidgetClass, NULL, 0); which creates the new window fine, but I am having problems with loading resources for this subwindow. If I create a form widget under the shell widget, say called "retrieve", then I can do the following in .Xdefaults *retrieve*quit.label: Done However, the following alternatives I cannot get to work (I have tried lots of other combinations too, but I cannot remember them all). Tql*retrieve*quit.label: Done *Tql*retrieve*quit.label: Done Tql*quit.label: Done Now the top level shell created by XtInitialize() works perfectly in the way expected. What am I doing wrong? I am using the standard distriubtion tape with the client running on an Encore and the server running on a Sun 3/60 if it makes any difference. Alan Kent Dept Comp Sci, RMIT, Melb, Australia ajk@goanna.cs.rmit.oz.au