Path: 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 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