Hi Mikhail, The osg-submissions list is for code submissions only, for support questions please use the osg-users mailing list/forum.
Thanks, Robert. On Fri, Mar 26, 2010 at 11:48 AM, Mikhail I. Izmestev <[email protected]> wrote: > Hello. > > I have discovered some problem using InheritCursor with > osgViewer::GraphicsWindowWin32 to make possible WM_SETCURSOR handling > in my application. > > If _mouseCursor == InheritCursor then WM_SETCURSOR handler in > GraphicsWindowWin32::handleNativeWindowingEvent do nothing and > WM_SETCURSOR message sends to my application. I can set _mouseCursor > to InheritCursor by calling GraphicsWindowWin32::setCursor method, all > works fine, WM_SETCURSOR message received. But if I try to move mouse > around window border then _mouseCursor changes to another value and > never set back to InheritCursor. Problem into WM_NCHITTEST handler, it > never set _mouseCursor to InheritCursor. > > Another problem with cursor into windows vista with composition > enabled. Windows vista not send WM_NCHITTEST message when mouse moved > into window caption and cursor stay as resizing. But we can use > WM_NCMOUSEMOVE message. Same problem discussed at > http://social.msdn.microsoft.com/Forums/en/windowsuidevelopment/thread/9a8a63c8-79b5-43a8-82eb-f659be947add > > Mikhail. > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
