home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4801 < prev    next >
Encoding:
Text File  |  1993-01-09  |  866 b   |  27 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!munnari.oz.au!metro!seagoon.newcastle.edu.au!wombat.newcastle.edu.au!phshl
  3. From: phshl@wombat.newcastle.edu.au (S.H. LEE (61) 49 21 5566)
  4. Subject: Help with scrolling drawing
  5. Message-ID: <1993Jan9.232326.1@wombat.newcastle.edu.au>
  6. Lines: 16
  7. Sender: news@seagoon.newcastle.edu.au
  8. Organization: University of Newcastle, AUSTRALIA
  9. Date: Sat, 9 Jan 1993 12:23:26 GMT
  10.  
  11. Hi ,
  12.   I am trying to draw Time Series in a window. I am using the
  13. mm_anisotropic Mapping Mode as follows
  14.  
  15. setMapMode(PaintDC, mm_anisotropic)
  16. SetWindowExt(PaintDC, 512, 256)   { 512 points in a window }
  17. SetViewportExt(PaintDC, r.right, -r.bottom);  { Client area }
  18. SetViewportOrg(PaintDC, 0,r.bottom);
  19. draw;
  20.  
  21. The problem is if I then scrolll the window, the picture will not be
  22. redrawn properly. 
  23.  
  24. Does anybody know what's wrong?
  25.  
  26. Lee
  27.