Path: utzoo!mnetor!uunet!mcvax!ukc!eagle!icdoc!zmacv91 From: zmacv91@doc.ic.ac.uk (Peter Walkley) Newsgroups: comp.sys.amiga Subject: Re: Mouse Pointer Help Required Message-ID: <180@gould.doc.ic.ac.uk> Date: 8 Feb 88 17:57:35 GMT References: <168@gould.doc.ic.ac.uk> Organization: Dept. of Computing, Imperial College, London, UK. Lines: 32 Keywords: Help,Mouse Pointer Summary: Thanks for the help everyone, heres what I got. In article <168@gould.doc.ic.ac.uk>, zmacv91@doc.ic.ac.uk (Peter Walkley) writes: > (Bits deleted) > > My friend wants a CLEAN way of getting rid of the mouse pointer, and > then being able to restore it again. He's writing a demo that grabs > the display (i.e Ignores intuition), and wants the MP out of the way. > > (More bits deleted) Many thanks for all the help recieved. The answers fell into three categories :- 1). Use SPRITE_OFF and SPRITE_ON macros. This would be fine, but my friend is using sprites that I didn't tell you about (sorry). 2). Use SetPointer() to set the pointer to either a null, or an invisible image and then ClearPointer() to restore it again. 3). Use GetPrefs() to get a copy of preferences, SetPrefs() to reset the pointer to a null image, and then SetPrefs() at the end to restore the original (I hope I got that right). Methods 2 and 3 were tried, and he decided to use 2. I did send email to the first two people whose answers I received by private mail, but don't know if it got through (Chuck McManis & Randy Anderson). - Peter Walkley. =============================================================================== One day I'll come up with a decent .signature file ===============================================================================