Re: xp cursor as Windows Caret


Subject: Re: xp cursor as Windows Caret
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Mon May 08 2000 - 08:00:04 CDT


HI Mike,
        Great co-incidence. This was a POW (Project of the the Week) a
month or so ago. hj has just re-submitted a patch to fix it for unix. I'll
have a look at it and I encourage others to do so too. If it seems OK it
will be committed. Would you like to work on a Windows fix?

Cheers

Martin

On Mon, 8 May 2000, Mike Nordell wrote:

> The marker for "current position" that's called cursor in FV_View is
> known as the Caret in Win32.
>
> One of the problems I found with this being drawn manually is that it
> continues to flash even if focus is set to another window. This includes
> another "window" in this app (e.g. toolbar combobox). Since this is
> really confusing, not to say plain annoying, and Windows handles this by
> only allowing one caret per desktop, I'd like some input on this issue.
>
> After looking through FV_View, I came to the conclusion that
> 1. this probably behaves the same (wrong) way in X.
> 2. to rewrite it to use Windows caret in Win32 would be too intrusive.
>
> Suggested solution:
> FV_View gets two additional public member functions:
> setFocus()
> killFocus()
>
> that turn on/off the caret. They could also perform other effects, such
> as displaying/hiding selection.
>
> Comments?
>
> /Mike
>
>
>
>
>



This archive was generated by hypermail 2b25 : Mon May 08 2000 - 08:00:32 CDT