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