Path: utzoo!attcan!uunet!lll-winken!elroy.jpl.nasa.gov!sdd.hp.com!hplabs!hpda!hpcuhb!hpcilzb!bazavan From: bazavan@hpcilzb.HP.COM (Valentin Bazavan) Newsgroups: comp.windows.x Subject: Re: motif XmString to char Message-ID: <280005@hpcilzb.HP.COM> Date: 17 Oct 90 14:46:13 GMT References: <2863@lamont.ldgo.columbia.edu> Organization: HP Design Tech Center - Santa Clara, CA Lines: 11 Use XmStringGetLtoR. For instance: char *s; XmString xmstr; /* Create a compound string */ xmstr = XmStringCreateLtoR("Hello", XmSTRING_DEFAULT_CHARSET); /* Get the text segment of the compound string */ XmStringGetLtoR(xmstr, XmSTRING_DEFAULT_CHARSET, &s); Valentin Bazavan