Hi Renan,
The osgstreoimage example has code that disables the mouse, have a look at this.
Robert.
On Tue, Apr 15, 2008 at 8:59 PM, Renan Mendes <[EMAIL PROTECTED]> wrote:
> Hi, everyone.
>
> I begun reading a thread by Guy in which he talked about disabling
> mouse cursor, and so I did it
Hi, I got the same problem.
My simple solution was to send an event mouse to update the cursor state
POINT newmousePos;
if (GetCursorPos(&newmousePos)) {
useCursor(false);
SetCursorPos(newmousePos.x,newmousePos.y);
}
El Tuesday 15 April 2008 22:54:51 Renan Mendes escribió:
> Ye
Yeah, I hadn't done that. But I've got one question still: My prototype was
based on mouse events. If I keep the code to handle these last ones, is my
application supposed to crash?
Thanks,
Renan
___
osg-users mailing list
osg-users@lists.openscenegraph
Hi Renan,
> I begun reading a thread by Guy in which he talked about disabling
> mouse cursor, and so I did it: I've instantiated an
> osgViewer::GraphicsWindow object, gw, and used gw.useCursor(false), but
> nothing happened. I've also tried some other operations, like resizing
> the wi
Hi, everyone.
I begun reading a thread by Guy in which he talked about disabling
mouse cursor, and so I did it: I've instantiated an
osgViewer::GraphicsWindow object, gw, and used gw.useCursor(false), but
nothing happened. I've also tried some other operations, like resizing the
window, etc,
5 matches
Mail list logo