From: "Pavlos" Newsgroups: comp.os.msdos.djgpp Subject: Re: Getting back mouse in Allegro GUI Date: Sat, 1 May 1999 16:10:31 +0300 Organization: An OTEnet S.A. customer Lines: 18 Message-ID: <7geufe$6cb$1@newssrv.otenet.gr> References: <372ad349 DOT 11188192 AT news DOT iafrica DOT com> NNTP-Posting-Host: dram-a10.otenet.gr X-Trace: newssrv.otenet.gr 925564206 6539 195.167.113.233 (1 May 1999 13:10:06 GMT) X-Complaints-To: abuse AT otenet DOT gr NNTP-Posting-Date: 1 May 1999 13:10:06 GMT X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Well, you could try to hide the mouse before changing mode. Who knows, it may work Marc Brooker wrote in message <372ad349 DOT 11188192 AT news DOT iafrica DOT com>... >How do I get back the mouse in the allegro GUI. I am writing a program >that when a button is pressed it changes the screen mode, color depth >and clears the screen. After the process is finished it restores the >screen mode that the gui was in, sends a MSG_DRAW message and returns >D_REDRAW to the GUI handler. > >The whole gui readraws fine but the mouse cursor dissapears. I tried >calling show_mouse but I got a SIGSEGV (for obvious reasons). Is there >any way to get the mouse pointer back or should I restructure my >program so it ends the dialog, does it's stuff, and restarts it. > >Thanks in advance for any help.