Article View: comp.sys.atari.st
Article #37970Re: how to kill a mouse cursor
From: Jelske Kloppenburg
Date: Wed, 12 Apr 1989 20:25
Date: Wed, 12 Apr 1989 20:25
29 lines
1710 bytes
1710 bytes
I read your question a while ago, and I read the answers, I think they
are not very helpful. So I'll try to explain what I know.
I mostly program in Modula2 and never used a line-A instruction.
The AES has a graf_mouse call (AES 78). I remember, but dont know
exactly, that after several show mouse (#257) calls, you have to
call hide mouse (#256) as often until the mouse is killed.
But when you call it whith show mouse, the mouse appeares independent
of hide mouse calls.
The VDI has show cursor (VDI 122) and hide cursor (VDI 123). The VDI
has the opposite counting: "Once the cursor is visible, a single Hide
Cursor causes the cursor to disappear. GEM VDI keeps track of the
number of times the Hide Cursor is called..."
What happens if these calls are mixed, what can be the case in calling
foreign programs, I dont know. But in a similar case I call the
VDI Hide Cursor and the mouse is always invisible.
The second problem arises - I think - when programs dont close their
windows and your shell inherits them. The desktop always cleares the
entire window system after program termination. I'd try do make close
window calls for 1, 2, ... 8? after return of a called progam.
kloppenburg@kmx.gmd.dbp.de
UUCP: kloppen@gmdzi
Technical Details
Message-ID:
<1022@gmdzi.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!unido!gmdzi!kloppenReferences:
<8904040255.AA19491@ucbvax.Berkeley.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!unido!gmdzi!kloppen From: kloppen@gmdzi.UUCP (Jelske Kloppenburg) Newsgroups: comp.sys.atari.st Subject: Re: how to kill a mouse cursor Summary: AES, VDI, window Message-ID: <1022@gmdzi.UUCP> Date: 12 Apr 89 20:25:26 GMT References: <8904040255.AA19491@ucbvax.Berkeley.EDU> Organization: GMD, Sankt Augustin, F. R. Germany Lines: 29