[futurebasic] Re: [FB] Yosemite cursors, helpbook window

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2014 : Group Archive : Group : All Groups

From: Mark A Chappell <mark.chappell@...>
Date: Fri, 24 Oct 2014 19:04:21 +0000
> On Oct 24, 2014, at 11:46 AM, Brian S <fblistserve@...> wrote:
> 
> 
> Mark A Chappell wrote:
> 
>> 1.  I’ve noticed a small Yosemite glitch:  when using the cross-cursor in older OS X version, the cursor would change color as it moved over a window to maintain contrast (dark when over a light background and vice versa).  That doesn’t seem to happen in Yosemite:  the cross-cursor is always dark so it disappears when over a dark background.
> Don’t know if this is fixable but first, please remind me when a cross cursor shows up so I can look at the code. It might be useful to know what FB version you’re using too. The only cursors I see in FB are the standard pointer( arrow ), the right pointer(arrow) for selecting a line from the left gutter of the editor window and the text insertion cursor inside and editor window. I know it’s there but I’m not seeing it yet.

It’s not in the FB editor.   I use it in one of my apps (I call CURSOR _crosscursor when the cursor is over a certain part of a window).  FB 5.7.8.    This is not a huge issue obviously; I made my own cursor resource with the dark cross outlined in white, so it shows up well against most backgrounds.   Not as elegant as a cursor that uses some sort of XOR with background color, as used to be the case in earlier OS X versions.
> 
> 
>> 2.  Is there a way to close a help book window from within an FBtoC app?
> If there is a way it will take a little work. The help window is run by a separate process( "Help Viewer" I think ) from your app’s process. You might be able to send the help window process a quit Apple event and IIRC Cocoa provides other methods such as the Foundation distributed calls. 
> 
> 
>>  I’ve got various help book windows in my programs; many of these are related to particular application windows or functions and it would be nice to have the helpbook window close when the user switches to another function within the application.
> The user is supposed to control the help book window. Even though your users might be fine with this approach, it might run into resistance from Apple code.
OK, that’s more or less what I assumed but was hoping there was a simple way around this.

thanks, Mark

> 
> Tool tips might be another way to go or at least a first line of help before the user needs to look at the help book. Popover windows ( available in 10.7+ ) might also be used to show help.
> 
> Brian
> 
> 
> 
> 

________________________________________
Mark Chappell, Professor of Biology
University of California, Riverside, CA 92521, USA
     Office:  2312 Spieth, 951 827-7709 ; fax -4286
     Lab:  2375 Spieth Hall, 951 827-6418
     email:  chappell@...
     web:  http://biology.ucr.edu/people/faculty/Chappell.html