home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / programm / 19279 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.0 KB

  1. Path: sparky!uunet!cbmvax!bagate!dsinc!spool.mu.edu!olivea!decwrl!pa.dec.com!ninja!zowie.zso.dec.com!ridder
  2. From: ridder@zowie.zso.dec.com (Hans)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: How to make custom autoscroll screen?
  5. Message-ID: <1993Jan28.055650.11953@ninja.zso.dec.com>
  6. Date: 28 Jan 93 05:56:50 GMT
  7. References: <1993Jan21.051822.16637@microsoft.com>
  8. Sender: news@ninja.zso.dec.com (USENET News System)
  9. Organization: Digital Equipment Corporation - DECwest Engineering
  10. Lines: 36
  11. Nntp-Posting-Host: zowie.zso.dec.com
  12.  
  13. In article <1993Jan21.051822.16637@microsoft.com> iank@microsoft.com (Ian Kennedy) writes:
  14.  
  15. >I know this sounds like a total newbie question, but I can't get my
  16. >autoscroll custom screen to autoscroll.  All that happens is the mouse
  17. >wraps around the screen pointer changes size. Below are my calls to
  18. >OpenScreenTags and OpenWindowTags.
  19. >
  20. >screen = OpenScreenTags(NULL,SA_Pens,(ULONG)pens,     
  21. >                        SA_Depth,8,                   
  22. >                        SA_Width,(ULONG)nImageWidth,  
  23. >                        SA_Height,(ULONG)nImageHeight,
  24. >                        SA_AutoScroll,1,              
  25. >                        SA_Title,"Foo",               
  26. >                        TAG_DONE);                    
  27.  
  28. I ran into this myself.  Despite what the RKM says, you need to have a
  29. display clip for your screen.  The easiest way is to add the tag
  30. "SA_Overscan, OSCAN_TEXT" (I might have the names a bit wrong) to your
  31. OpenScreenTags() call.
  32.  
  33. I submitted a bug report on this to bugs@cbmvax, but they don't ever
  34. acknowledge anything I send there, so I don't know if they got it, threw
  35. it away, or fixed it.... :-(
  36.  
  37. >MAIL: IANK@microsoft.com if you know what I'm doing wrong! Please!
  38.  
  39. Well, OK...
  40.  
  41. >Ian "power outage at work = hack time at home!" Kennedy
  42.  
  43. -hans
  44. -- 
  45.   Hans-Gabriel Ridder <ridder@rust.zso.dec.com>
  46.   DECwest Engineering, Bellevue, Washington, USA
  47.   "I'd rather be writing MACRO-20!"
  48.   Any opinions expressed are not those of my employer, honest.
  49.