home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / amiga / programm / 17455 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  2.0 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ee!bloc1469
  2. From: bloc1469@ee.ee.uwm.edu (Gregory R. Block)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Sorry, can't learn from includes alone
  5. Date: 17 Dec 1992 03:17:41 GMT
  6. Organization: Electrical Engineering Dept. University of Wisconsin - Milwaukee
  7. Lines: 36
  8. Message-ID: <1gorglINNl67@uwm.edu>
  9. References: <BzBy9v.Izp@usenet.ucs.indiana.edu>
  10. NNTP-Posting-Host: 129.89.2.33
  11.  
  12. In article <BzBy9v.Izp@usenet.ucs.indiana.edu> shulick@navajo.ucs.indiana.edu writes:
  13. >To those of you who said it's possible to learn 2.0 programming on the
  14. >includes... sorry.  Look at this:
  15. >
  16. >struct NewGadget {}
  17.  
  18. It's very possible, though nobody said it was easy.  If it weren't
  19. possible, you wouldn't see programs that exist for 3.0 NOW:  All that
  20. exist are the includes and autodocs.
  21.  
  22. You do have both the includes/headers and the autodocs, don't you?
  23.  
  24. >What's ng_GadgetID supposed to do?  What should I set it to?  What's the
  25. >ng_UserData?  The includes do NOT explain these.  Isn't there some book
  26.  
  27. A pointer to user data.  For your own use, or they wouldn't call it
  28. "UserData".  GadgetID?  It's a Gadget ID #.  You assign it.  When you
  29. get an event, it returns a message of the specified type (GadgetUp,
  30. GadgetDown, whatever) with the GadgetID # you put in.  That way, you
  31. know which button is being pressed.
  32.  
  33. >available that does?  For instance, Sybex put out an EXCELLENT book
  34.  
  35. Yes.  The Rom Kernel Reference Manual: Libraries.  Very in-depth.
  36.  
  37. >called "Amiga Programmer's Handbook" which totally explains the Amiga C
  38. >functions (OS 1.3).. it explains what you should set certain things to,
  39. >etc. etc.  Is there some kind of book like this for OS 2.0?  I want to
  40. >make gadgets, but I have no clue without any good books.
  41.  
  42. Well, now you do.  :)
  43. --
  44. (: (: (: (: Have you overdosed on smileys today?  Why NOT!?! :) :) :) :)
  45. (:   "Commodore has never proven to me, to my satisfaction, that      :)
  46. (:    Marc Barrett is still alive."                   -Wubba :)
  47. (: (: (: (: (: (: (: (: (: (: (: (: () :) :) :) Wubba, the Dark Angel :)
  48.