Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!csd4.milw.wisc.edu!leah!albanycs!crdgw1!uunet!ibmarc!spanki.almaden.ibm.com!spanki From: spanki@spanki.almaden.ibm.com Newsgroups: comp.windows.x Subject: Help! XToolkit Question/Problem Keywords: Can't find per display information.... Message-ID: <888@ks.UUCP> Date: 11 Jun 89 02:51:17 GMT Sender: news@ibmarc.UUCP Reply-To: spanki@almaden.ibm.com Followup-To: comp.windows.x Organization: IBM Almaden Research Center Lines: 40 I'm working on an X11R3 application. We didn't have working widgets for awhile, so we built the main windows ourselves. Now, we want to use some of the Athena Widgets. I'm just trying to throw up a title bar, and I get an Xtoolkit Error can't get per display. the function is pretty simple, void TitleBarCreate() { static XtCallBackRec... XtToolkitInitialize(); XtSetArg( ... XtSetArg(... XtSetArg(... titleBar = XtCreateShell("progname", "progclass", commandWidgetCLass, display, arg, XtNumber(arg) ); This is where it is dying. Everything compiles fine, but I get an XtToolkit Error: Can't find per display information. Is it possible to NOT have the toolkit do any of the startup stuff like opening the display, parsing caommand line etc... I've already done all that, I just want to use a few of the widgets for pop ups, and titlebars.... Is there a way to "trick" it into thinking that stuff was done by it? Have I just missed something?????? Thanks, Frank Goodman