home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / programm / 19045 < prev    next >
Encoding:
Text File  |  1993-01-21  |  2.4 KB  |  56 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!microsoft!hexnut!iank
  3. From: iank@microsoft.com (Ian Kennedy)
  4. Subject: How to make custom autoscroll screen?
  5. Message-ID: <1993Jan21.051822.16637@microsoft.com>
  6. Date: 21 Jan 93 05:18:22 GMT
  7. Organization: Microsoft Corp.
  8. Lines: 43
  9.  
  10. I know this sounds like a total newbie question, but
  11. I can't get my autoscroll custom screen to autoscroll.
  12. All that happens is the mouse wraps around the screen
  13. pointer changes size. Below are my calls to OpenScreenTags
  14. and OpenWindowTags.
  15.  
  16. screen = OpenScreenTags(NULL,SA_Pens,(ULONG)pens,     
  17.                         SA_Depth,8,                   
  18.                         SA_Width,(ULONG)nImageWidth,  
  19.                         SA_Height,(ULONG)nImageHeight,
  20.                         SA_AutoScroll,1,              
  21.                         SA_Title,"Foo",               
  22.                         TAG_DONE);                    
  23. window = OpenWindowTags(NULL,                         
  24.                         WA_Left,10,                   
  25.                         WA_Top,30,                    
  26.                         WA_Width,200,                 
  27.                         WA_Height,150,                
  28.                         WA_CustomScreen,screen,       
  29.                         WA_Flags,WFLG_DRAGBAR,        
  30.                         TAG_DONE);
  31.  
  32. Does anybody see aproblem? I don't. There is not much in the RKM:
  33. Libraries regarding this type of screen. One little blurb in the
  34. list of screen attributs, that's it. No example. Grrrrr.
  35.  
  36. MAIL: IANK@microsoft.com if you know what I'm doing wrong! Please!
  37.  
  38. Also: Do you know how to convert a SAS(lattice) "libcall" pragma
  39. into an MANX "amicall" pragma? I have some SAS libcall and prototypes
  40. for AGA graphics stuff and need to convert them for use in MANX.
  41.  
  42. ALSO ALSO: Am I the only one who finds the lack of certain information
  43. in the RKMs frustrating. For example on page 47 of the latest (2.0)
  44. RKM:libraries they mention the SA_Color tag and that its associated
  45. data points to an array of ColorSpec structs. If you look up ColorSpec
  46. in the index it points you to page 47. Not much help eh?
  47.  
  48. Anyrate, I would really appreciate help with the first problem.
  49.  
  50. Ian "power outage at work = hack time at home!" Kennedy
  51. -- 
  52. "Well, I'M not worried.  I bought the optional BLAZESHOTGUN accessory
  53. pack COMPLETE WITH the economy "Saturday-Night-Special" 12-ga. dubble-ought
  54. dozen!  (Indispensible aid in communicating with Customer Service)."
  55. MAIL : IANK@MICROSOFT.COM
  56.