home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / amiga / programm / 17392 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.8 KB  |  41 lines

  1. Nntp-Posting-Host: yrsa.ifi.uio.no
  2. Newsgroups: comp.sys.amiga.programmer
  3. Path: sparky!uunet!mcsun!sunic!aun.uninett.no!nuug!ifi.uio.no!perod
  4. From: perod@ifi.uio.no (Per Christian \deg}rd)
  5. Subject: Re: Help a 1.3 programmer get started on 2.0
  6. Message-ID: <1992Dec15.173259.17370@ifi.uio.no>
  7. Sender: perod@ifi.uio.no (Per Christian \deg}rd)
  8. Organization: Dept. of Informatics, University of Oslo, Norway
  9. References:  <BzB6Ds.K6n@usenet.ucs.indiana.edu>
  10. Date: Tue, 15 Dec 1992 17:32:59 GMT
  11. Lines: 27
  12. Originator: perod@yrsa.ifi.uio.no
  13.  
  14.  
  15. In article <BzB6Ds.K6n@usenet.ucs.indiana.edu>, shulick@navajo.ucs.indiana.edu (Sam Hulick) writes:
  16. > I'm still writing apps that work on OS 1.3. :)  I don't know where to
  17. > start learning OS 2.0 specific code.  For instance, how does one make
  18. > the gadgets w/ key shortcuts?  I see them all the time.. i.e. a gadget
  19. > 'Help' with the 'H' underlined.  And how do you make cycling gadgets?
  20. > etc. etc.  I need a book that explains what functions to use, how to do
  21. > it, etc.  I have the 'Includes And Autodocs' with all the functions..
  22. > but I have no clue which functions to use to make these things.  Any
  23. > help would be great.. thanks.
  24.  
  25. You don't really need more that 'Includes and Autodocs' if don't mind a lot
  26. of looking-up. Looking in the .h and .i files explains almost
  27. everything. However, buying 'Libraries' will probably help a lot.
  28. Getting underlined characters isn't hard at all. Just place a '_' before the
  29. character you want underlined, and hey presto! An underlined character.
  30. Example:    dc.b '_Help',0    will work in your example.
  31.  
  32. There are flags for positioning the text too, but look in the gadtools files for
  33. all the info. In order to enable tab-cycling, you just have to set a flag to
  34. indicate that you want cycling. As far as I can remember this does only work on
  35. 2.04 and upwards.
  36.  
  37. Good luck!
  38.  
  39. Per Chr. Odegard (perod@ifi.uio.no)
  40.