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