Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!swrinde!ucsd!ucbvax!dewey.soe.berkeley.edu!oster From: oster@dewey.soe.berkeley.edu (David Phillip Oster) Newsgroups: comp.sys.mac.programmer Subject: Re: Revealing the Mouse Cursor Message-ID: <32450@ucbvax.BERKELEY.EDU> Date: 9 Nov 89 09:17:26 GMT References: <32409@ucbvax.BERKELEY.EDU> <14473@well.UUCP> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster) Organization: School of Education, UC-Berkeley Lines: 28 I was a little too terse in my first posting on this topic. I'll try again to make the problem clear. You are typing at a dialog. The mouse cursor has vanished, as the User Interface Guidlines inteded, because TextEdit() calls ObscureCursor(). Now, the user hits the key. Since this dialog has a default action, the dialog vanishes. No text cursor. Also no mouse cursor. Experienced Mac users unconsciously know that if they move the mouse, they'll get a cursor. My testers don't come from the Mac culture and say Bug Report 850:, dialog code 12, code 13, code 14... SetCursor() doesn't show the cursor. RevealCursor() doesn't show the cursor. Nothing undoes ObscureCursor() except InitCursor(), which also has the side effect of making the cursor be the arrow. Those who have responded to me by mail have assured me that calling InitCursor() more than once isn't a problem, but I want reassurance from Apple. Yes, it is a finicky detail, but finicky details are important. A little background: This program changes the mouse cursor to an i-beam if it is over a text edit dialog item, even in SFPutFile(). It provides cut/copy/paste AND UNDO in every dialog, even SFPutFile(). My testers have sent me bug reports that I've tracked down to Apple bugs in TEUpdate(), TEGetOffset(), and PtrAndHand(). (I've filed bug reports on these with apple over MCI mail.) My testers also filed a bug report with me that my program didn't tell them that they'd turned off their imagewriter. (For those who don't know, a turned off imagewriter sends a continuous "ready" signal to the Mac's serial port.)