home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 608 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Subject: Re: OS3 Double Buffering
  2. References: <thst.02fb@outsite.saar.de>
  3. X-Newsreader: TIN [version 1.2 PL2]
  4. Path: imada.ou.dk!breese
  5. From: breese@imada.ou.dk (Bjorn Reese)
  6. Message-ID: <1996Jan9.171601.19150@imada.ou.dk>
  7. Sender: news@imada.ou.dk
  8. Nntp-Posting-Host: langgaard.imada.ou.dk
  9. Organization: Dept. of Math. & Computer Science, Odense University, Denmark
  10. Date: Tue, 9 Jan 1996 17:16:01 GMT
  11. Newsgroups: comp.sys.amiga.programmer
  12.  
  13. Thomas Strauss (thst@outsite.saar.de) wrote:
  14. > My problem is, that I never receive the SafeMessage to change
  15. > the BitMaps. Do I have to prepare it in some way?
  16.  
  17. I had a similar problem which I solved in the following way
  18. (and unless Michael van Elst comes up with a better solution
  19. I shall continue to use it :)
  20.  
  21.   while (running) {
  22.     do {
  23.       handleIDCMP();
  24.       res = ChangeScreenBuffer(myScreen, buffer)
  25.       WaitTOF();
  26.     } while (res == 0);
  27.     /* do whatever */
  28.     ...
  29.   }
  30.  
  31. --
  32. Bjorn Reese                      Email: breese@imada.ou.dk
  33. Odense University, Denmark       URL:   http://www.imada.ou.dk/~breese
  34.  
  35. "It's getting late in the game to show any pride or shame" - Marillion
  36.