home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!microsoft!hexnut!iank
- From: iank@microsoft.com (Ian Kennedy)
- Subject: How to make custom autoscroll screen?
- Message-ID: <1993Jan21.051822.16637@microsoft.com>
- Date: 21 Jan 93 05:18:22 GMT
- Organization: Microsoft Corp.
- Lines: 43
-
- 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);
- window = OpenWindowTags(NULL,
- WA_Left,10,
- WA_Top,30,
- WA_Width,200,
- WA_Height,150,
- WA_CustomScreen,screen,
- WA_Flags,WFLG_DRAGBAR,
- TAG_DONE);
-
- Does anybody see aproblem? I don't. There is not much in the RKM:
- Libraries regarding this type of screen. One little blurb in the
- list of screen attributs, that's it. No example. Grrrrr.
-
- MAIL: IANK@microsoft.com if you know what I'm doing wrong! Please!
-
- Also: Do you know how to convert a SAS(lattice) "libcall" pragma
- into an MANX "amicall" pragma? I have some SAS libcall and prototypes
- for AGA graphics stuff and need to convert them for use in MANX.
-
- ALSO ALSO: Am I the only one who finds the lack of certain information
- in the RKMs frustrating. For example on page 47 of the latest (2.0)
- RKM:libraries they mention the SA_Color tag and that its associated
- data points to an array of ColorSpec structs. If you look up ColorSpec
- in the index it points you to page 47. Not much help eh?
-
- Anyrate, I would really appreciate help with the first problem.
-
- Ian "power outage at work = hack time at home!" Kennedy
- --
- "Well, I'M not worried. I bought the optional BLAZESHOTGUN accessory
- pack COMPLETE WITH the economy "Saturday-Night-Special" 12-ga. dubble-ought
- dozen! (Indispensible aid in communicating with Customer Service)."
- MAIL : IANK@MICROSOFT.COM
-