home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!gatech!usenet.ins.cwru.edu!agate!ucbvax!PICA.ARMY.MIL!jsheng
- From: jsheng@PICA.ARMY.MIL ("Joseph Y. Sheng", IMD-PB)
- Newsgroups: comp.windows.x.motif
- Subject: Re: Error: Shell Widget 3 has zero width ...
- Message-ID: <9212231054.aa03544@COR4.PICA.ARMY.MIL>
- Date: 23 Dec 92 15:54:58 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: inet
- Organization: The Internet
- Lines: 14
-
-
- I am new to Motif, too. I noticed that you set the arguments but you never
- really implement those changes to the toplevel shell widget. It should work
- if you make the following change.
-
- >> XtSetArg(args[n], XmNwidth, 200); n++;
- >> XtSetArg(args[n], XmNheight, 200); n++;
-
- XtSetValues(toplevel,args,n);
-
- >> BULLETINBD_0 = XmCreateBulletinBoardDialog(toplevel,"BULLETINBD_0",args,n);
-
- ...Joe Sheng
- US ARMY
-