I just built a bare-bones VS 2005 project (only linking in FLTK 2, no 
ImageMagick) and experienced the same cursor behavior as previously reported.

And I forgot to mention, I have been using this->cursor(...) instead of 
fltk::cursor(...). Just for grins, I also tried window()->cursor(...) after the 
call to this->cursor(...).

don

>
> Also, note that I'm linking with ImageMagick libraries (Magick++). I'll put 
> together a bare-bones project with only FLTK and see if that makes a 
> difference...
>
> don
>
> >




> Hi, Ben - sorry for the delayed response.
>
> I'm using a 32 bit machine (Pentium 4, 3.20 GHz) with Windows XP sp3.
>
> Here's (what looks like) an interesting clue: the cursor behaves as expected 
> when the left mouse button is down.
>
> Also, note that I'm linking with ImageMagick libraries (Magick++). I'll put 
> together a bare-bones project with only FLTK and see if that makes a 
> difference...
>
> don
>
> >
> > > Essentially, my cursor changes from "default" to "cross" right on the 
> > > edge of the GlWindow, but once inside, it becomes "default" again. Based 
> > > on the results of the print statement I added, the ENTER event changes 
> > > the cursor correctly, but apparently MOVE changes it back to DEFAULT.
> > > Anyone have any ideas about why this is happening or suggestions on the 
> > > best way to troubleshoot?
> > >
> > Hi again Don,
> >
> > I couldn't reproduce this behaviour on both my WinXP VM and my Ubuntu
> > box (I tested it on the VM with VisualStudio 2005, and used the
> > projects' debug *and* release modes, with the same results), so I'm
> > guessing there's something that we're missing.
> > Are you perhaps on 64-bit architecture?
> >
> > The only way I could force the cursor to screw around was to explicitly
> > call fltk::cursor(...) instead of cursor(...).
> > Assuming you're using cursor(...), which would then default to
> > this->cursor(...) and fall back to widget->cursor(...), I'm not quite
> > sure how the behaviour described ends up occuring.
> > What other details can you provide re the machine you're on?
> > Ben
> >
>

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to