From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,624fce42f19e3fa0,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1990-09-14 14:49:42 PST Path: gmdzi!unido!mcsun!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 Posted: Fri Sep 14 22:49:42 1990 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