home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / openloo / 4624 < prev    next >
Encoding:
Text File  |  1992-11-22  |  870 b   |  29 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!uuhelio!jpf
  3. From: jpf@uuhelio.uucp (Jeff Francis)
  4. Subject: Problem converting a Window to an XCanvas in NeWS?
  5. Message-ID: <JPF.92Nov23040313@uuhelio.uuhelio>
  6. Sender: jpf@uuhelio.uucp (Jeff Francis)
  7. Organization: HelioCentric Software
  8. Date: Mon, 23 Nov 1992 10:03:13 GMT
  9. Lines: 18
  10.  
  11. I have the following piece of NeWS cps code.
  12.  
  13. cdef ps_start(int xid)
  14.     /NeWS 3 0 findpackage beginpackage
  15.     (NeWS/Xstruct.ps) LoadFile pop
  16.     (NeWS/Xselection.ps) LoadFile pop
  17.  
  18.     xid XLookupCanvas setcanvas
  19.  
  20. When I call this code I get an error saying that 'xlookupid' is
  21. undefined.  When I grep through the various $OWN/etc/NeWS files I
  22. can't find this operator.  Any ideas?  I'm simply trying to get at the
  23. canvas for a given X Window ID.
  24.  
  25. Thanks in advance,
  26. jpf
  27. -- 
  28. Jeff Francis, HelioCentric Software, uunet!uuhelio!jpf, (515) 232-1300
  29.