From: nospam DOT cbrooker AT iafrica DOT com (Marc Brooker) Newsgroups: comp.os.msdos.djgpp Subject: Getting back mouse in Allegro GUI Date: Sat, 01 May 1999 10:39:34 GMT Organization: UUNET Internet Africa Lines: 12 Message-ID: <372ad349.11188192@news.iafrica.com> NNTP-Posting-Host: 196-31-19-144.iafrica.com X-Trace: nnrp01.ops.uunet.co.za 925555359 28171 196.31.19.144 (1 May 1999 10:42:39 GMT) X-Complaints-To: abuse AT iafrica DOT com NNTP-Posting-Date: 1 May 1999 10:42:39 GMT X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie 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.