[futurebasic] Re: [FB] cursor problem

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2001 : Group Archive : Group : All Groups

From: Joe Lewis Wilkins <PepeToo@...>
Date: Fri, 06 Apr 2001 08:44:58 -0700
"Parks, Eric K." wrote:

> I have a cursor problem.  In my program I use CALL HIDECURSOR to get rid of
> the arrow cursor, so I can create a full screen cross hairs. However, when I
> temporarily switch to a different application using the application menu,
> the arrow cursor is still gone and I usually have to go back to my
> application, click a button in my application to change back to the arrow
> cursor, and then again change to the other application. It is a pain in the
> neck to have to remember to always do this.
>
> Question: is there any way to "automatically" reinstate the arrow cursor
> when I switch applications by clicking in the application menu?  The same
> problem occurs in the VersaTerm Pro application that I have previously used,
> so maybe there is not an easy answer.

Hi Eric,

If you're using a Standard Basic Project type, use the _mfResume and _mfSuspend
events in the doDialog Local FN to set the cursor as you need it when leaving
and returning to your application.  Frankly, I've found the HideCursor FN a bit
problematical, particularly when you use the Debugger, and you might want to
have it NOT hidden when you're using the debugger.  Just a thought.

HTH,

Joe Wilkins