[comp.sys.mac] Scroll Bar CDEF

kv2@prism.gatech.EDU (VAUGHN KEITH DAVIS) (11/23/89)

In the Nov '89 issue of MacTutor, there is an article
which includes source code for an alternate scroll bar 
CDEF which places up/down arrows at both ends of the
scroll bar.  I agree with the author's view that having 
to move a large distance to use the arrow for small moves
is a real pain.  So I typed in the code.

Now the problem!!

How do you get the system ( and other applications ) to
recognize the new CDEF.  Inside Mac states:

	the control definition ID is

	16 * resource ID + variation code

OK, fine.
Further reading states:

	scrollBarProc = 16; { scroll bar }

So, what's the right ID?
I have tried 16 and it does work!

Here's the system:
Mac IIcx, System 6.0.3

Any ideas? Better yet, anyone have the solution!

-- 
VAUGHN,KEITH D
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:     ...!{allegra,amd,hplabs,ut-ngp}!gatech!prism!kv2
Internet: kv2@prism.gatech.edu