Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!draco!carlton From: carlton@draco (Mike Carlton) Newsgroups: comp.sys.mac.programmer Subject: Re: How to get arrow cursor in cDev? Keywords: arrow cursor cdev programming Message-ID: <38341@ucbvax.BERKELEY.EDU> Date: 22 Aug 90 20:14:56 GMT References: <1224@acf5.NYU.EDU> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: carlton@draco.berkeley.edu (Mike Carlton) Organization: University of California at Berkeley Lines: 27 In article <1224@acf5.NYU.EDU> spector@acf5.NYU.EDU (David HM Spector) writes: >Does anyone have any pointers on how to get a cdev to allow use of the Arrow >cursor? QuicKeys seems to be able to do it, and smoothly at that. >The only way I can get the cursor to be an arrow seems to be on idle >messages, and I am constantly fighting with the system who is setting >it to the cross-hair... > >any idea would be appreciated.... > >Thanks Much, > _DHMS To get an arrow cursor, simply add a 'CURS' -4064 resource to your cdev file. The contents of the cursor don't matter, its presence tells the control panel not to change to the cross. If you want something other than an arrow, you can react to the new 'cursdev' (I forget the exact constant) message by setting the cursor to your cursor. All this is detailed in a tech note, unfortunately I don't remember which one. If you have the tech notes stack, look up cdev in the index and you'll find the tech note. Email me if you need more details and I'll look them up at home. Cheers, Mike Carlton, UC Berkeley Computer Science ~ carlton@ernie.berkeley.edu ...!ucbvax!ernie!carlton Manana