home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / lisp / mcl / 1070 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  1.5 KB

  1. Path: sparky!uunet!wupost!wupost!not-for-mail
  2. From: bloch@wupost.wustl.edu (Charlene Bloch Abrams)
  3. Newsgroups: comp.lang.lisp.mcl
  4. Subject: Resources and picts and windows
  5. Date: 24 Jul 1992 14:56:56 -0500
  6. Organization: Washington University, St. Louis
  7. Lines: 31
  8. Message-ID: <14pna8INNbj0@informatics.wustl.edu>
  9. NNTP-Posting-Host: informatics.wustl.edu
  10.  
  11. Newsgroups: comp.lang.lisp.mcl
  12. Subject: Resources and picts and windows
  13. Summary: 
  14. Expires: 
  15. Sender: 
  16. Followup-To: 
  17. Distribution: 
  18. Organization: Washington University, St. Louis
  19. Keywords: 
  20.  
  21. I have a program which gets data from a file, said data file directing it
  22. as to what resource file (containing a picture) to use. The resource file
  23. is then opened, and a handle to the pict resource is retrieved. The picture
  24. is then supposed to be drawn to an offscreen bitmap, and then later 
  25. transferred to a window on the screen. The problem occurs in drawing the 
  26. picture: the first time that resource file is accessed, nothing happens
  27. when #_drawpicture is called. It must be retrieving the picture handle,
  28. as the size of the window is correct, but no drawing takes place. 
  29.  
  30. If the data file is changed (so a different resource file is used), still
  31. no picture is drawn. If the data file is changed back to what it was 
  32. originally, it is drawn on this and all subsequent invocations of the program.
  33.  
  34. If I exit and restart MCL, this odd behaviour re-exhibits itself.
  35.  
  36. I'm using 2.0, but it was happeneing with 2.0f3 as well.
  37.  
  38. Any ideas? Anyone?
  39.  
  40. Charlene
  41.  
  42.