Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uwm.edu!uakari.primate.wisc.edu!ark1!nap1!asd.wpafb.af.mil!staatsvr From: staatsvr@asd.wpafb.af.mil ( Vern Staats) Newsgroups: comp.windows.x Subject: Querying the window mgr for transientShell resources Keywords: transientShell vendorShell dxwm Message-ID: <297@nap1.cds.wpafb.af.mil> Date: 28 Nov 89 22:30:01 GMT Sender: news@nap1.cds.wpafb.af.mil Reply-To: staatsvr@asd.wpafb.af.mil ( Vern Staats) Organization: US. Air Force, ASD, Wright-Patterson AFB Lines: 26 Hi-Ho. Once again I've found an opportunity to publicly display my ignorance (i.e. I could use some help). I am using a transientShell for a legend which the user can drag around on an x-y plot. The problem is in determining a minimum width to ask for, such that the window mgr (dxwm) has room to display the window title "Legend" in addition to the iconify, lower, and resize widgets. It would help if I could at least get the font of the title. The DEC Toolkit Intrinsics manual claims that I can get the info I need from the non_title_width and title_font resources of vendorShell. These fields appear not to be available, no doubt because I replaced the DECified libraries with the Athena versions. Is there a general way to get information about resources controlled by the window manager that doesn't tie the application to a specific vendor? Or, failing that, is there a common subset of resources of vendorShell supported by most vendors? Thanks in Advance ---- /// INET: staatsvr@asd.wpafb.af.mil Vern Staats (513) 255-2714 \\\/// UUCP: -Maybe- nap1!asd!staatsvr ASD/SCED WPAFB OH 45433 \XX/ Boolean orthogonal(char *my_opinions, char *employer_opinions) {return(TRUE);}