MousePosition while dragging

1 posts, 0 answers
  1. Daniel
    Daniel avatar
    23 posts
    Member since:
    May 2009

    Posted 25 Jan 2013 Link to this post


    I initialize dragging by following code:

    DragDropManager.AddDragInitializeHandler(xToolBar1, OnDragInitialize);
    DragDropManager.AddGiveFeedbackHandler(xToolBar1, OnGiveFeedback);

    In GiveFeedbackHandler and DropHandler  Mouse.GetPosition(xToolbarTray) gives negative numbers, which is incorrect. Is this bug?
    I attached sample project to demonstrate this behaviour:!1312&authkey=!ALflFx7eswlzjic

    Basically, I need distinguish between dragging or dropping on/before/after element in drop target.

    I'm using reorder behaviour very often and just inserting element after the element under mouse gives very negative user experience. I cannot move element on the first position this way.
Back to Top