home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / motif / 8204 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  852 b 

  1. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!gatech!usenet.ins.cwru.edu!agate!ucbvax!PICA.ARMY.MIL!jsheng
  2. From: jsheng@PICA.ARMY.MIL ("Joseph Y. Sheng", IMD-PB)
  3. Newsgroups: comp.windows.x.motif
  4. Subject: Re:  Error: Shell Widget 3 has zero width ...
  5. Message-ID: <9212231054.aa03544@COR4.PICA.ARMY.MIL>
  6. Date: 23 Dec 92 15:54:58 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: inet
  9. Organization: The Internet
  10. Lines: 14
  11.  
  12.  
  13.   I am new to Motif, too.  I noticed that you set the arguments but you never
  14. really implement those changes to the toplevel shell widget.  It should work
  15. if you make the following change.
  16.  
  17. >>  XtSetArg(args[n], XmNwidth, 200); n++;
  18. >>  XtSetArg(args[n], XmNheight, 200); n++;
  19.  
  20.     XtSetValues(toplevel,args,n);
  21.  
  22. >>  BULLETINBD_0 = XmCreateBulletinBoardDialog(toplevel,"BULLETINBD_0",args,n);
  23.  
  24. ...Joe Sheng
  25.    US ARMY
  26.