Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ns-mx!iowasp.physics.uiowa.edu!maverick.ksu.ksu.edu!unmvax!uokmax!uokmax.UUCP!jigang From: jigang@alliant.backbone.uoknor.edu (Jigang Yang) Newsgroups: comp.sys.dec Subject: Message-ID: <1990Sep14.214942.27399@uokmax.uucp> Date: 14 Sep 90 21:49:42 GMT Sender: news@uokmax.uucp (Nets) Reply-To: jigang@alliant.backbone.uoknor.edu (Jigang Yang) Organization: University of Oklahoma, Norman, OK Lines: 15 I am using DEC Window and UIL to build a user interface program. I got a problem and hope someone can help me. The problem is: How to convert a compound string to a plain text string(char *)? For example, I can use the DwtCStrcpy(list->item) to copy the compound string from the list box item. But when I want to post that string to a simple text widget , I have to convert the string to plain text string(char *) to use XtSetArg(al[0],resource,value) and XtSetValues(w, al, 1). ---------------------------------------------------------------------------------- Jigang Yang Geosciences Computing Network Tel: 405-325-5540 Univ. of Oklahoma Email: jigang@alliant.backbone.uoknor.edu 830 Van Vleet Oval #116 Norman, OK 73019