home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!wupost!not-for-mail
- From: bloch@wupost.wustl.edu (Charlene Bloch Abrams)
- Newsgroups: comp.lang.lisp.mcl
- Subject: Resources and picts and windows
- Date: 24 Jul 1992 14:56:56 -0500
- Organization: Washington University, St. Louis
- Lines: 31
- Message-ID: <14pna8INNbj0@informatics.wustl.edu>
- NNTP-Posting-Host: informatics.wustl.edu
-
- Newsgroups: comp.lang.lisp.mcl
- Subject: Resources and picts and windows
- Summary:
- Expires:
- Sender:
- Followup-To:
- Distribution:
- Organization: Washington University, St. Louis
- Keywords:
-
- I have a program which gets data from a file, said data file directing it
- as to what resource file (containing a picture) to use. The resource file
- is then opened, and a handle to the pict resource is retrieved. The picture
- is then supposed to be drawn to an offscreen bitmap, and then later
- transferred to a window on the screen. The problem occurs in drawing the
- picture: the first time that resource file is accessed, nothing happens
- when #_drawpicture is called. It must be retrieving the picture handle,
- as the size of the window is correct, but no drawing takes place.
-
- If the data file is changed (so a different resource file is used), still
- no picture is drawn. If the data file is changed back to what it was
- originally, it is drawn on this and all subsequent invocations of the program.
-
- If I exit and restart MCL, this odd behaviour re-exhibits itself.
-
- I'm using 2.0, but it was happeneing with 2.0f3 as well.
-
- Any ideas? Anyone?
-
- Charlene
-
-