[vtkusers] Mouse cursor resetting itself after call toSetCurrentCursor

Sarah Macumber S.Macumber at QuestReliability.com
Wed Sep 24 13:37:52 EDT 2008


Hi, I thought I would resend an issue I posted to the list concerning
setting the mouse cursor in hope of a response.

Best,
Sarah

********************************************************
I am having difficulty with setting the mouse cursor on the
vtkRenderWindow in Dot Net. The cursor changes but then it is
immediately reset back to the default.

GraphicsWindowRenderWindow.SetCurrentCursor(4);

Does anyone know why the cursor would be reset?  It is still reset even
with the following code added :

vtkObserverMediator om = GraphicsWindowInteractor.GetObserverMediator();
om.SetInteractor(GraphicsWindowInteractor);
om.RemoveAllCursorShapeRequests((vtkInteractorObserver)GraphicsWindowInt
eractorStyle);
int i = om.RequestCursorShape(GraphicsWindowInteractorStyle, 4);



More information about the vtkusers mailing list