Xref: utzoo comp.sys.mac.programmer:10561 comp.sys.mac:42853 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uwm.edu!psuvax1!ukma!uflorida!stat!fsu!prism!kv2 From: kv2@prism.gatech.EDU (VAUGHN KEITH DAVIS) Newsgroups: comp.sys.mac.programmer,comp.sys.mac Subject: Scroll Bar CDEF Keywords: cdef, control bar Message-ID: <3741@hydra.gatech.EDU> Date: 22 Nov 89 19:43:45 GMT Followup-To: comp.sys.mac.programmer Organization: Georgia Institute of Technology Lines: 34 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