Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!pacbell.com!pacbell!hoptoad!farcomp!murat From: murat@farcomp.UUCP (Murat Konar) Newsgroups: comp.sys.mac.programmer Subject: Re: How to get arrow cursor in cDev? Keywords: arrow cursor cdev programming Message-ID: <224@farcomp.UUCP> Date: 22 Aug 90 19:21:54 GMT References: <1224@acf5.NYU.EDU> Reply-To: murat@farcomp.UUCP (Murat Konar) Organization: Farallon Computing Inc. Berkeley, CA 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 From TN 215 "New" cdev messages: "If the cdev contains a 'CURS' = -4064 resource, the Control Panel will send it a cursorDev message whenever the cursor is over the cdev part of the Control PanelUs window instead of setting the cursor to the light cross. The cdev can then set and use its own cursor. The Control Panel will handle the cursor elsewhere on the screen. The Control Panel does not examine the contents of the 'CURS' = -4064 resource." Note that you will still have to set the cursor yourself. The inclusion of the 'CURS' = -4064 resource is simply a signal to the control panel mechanism that you wish to receive the cursorDev message. -- ____________________________________________________________________ Have a day. :^| Murat N. Konar murat@farcomp.UUCP -or- farcomp!murat@apple.com