DragMove MouseDown Position

Docking/MDI for WPF Forum

Posted 8 years ago by Jonathan Reis
Version: 11.1.0543
Avatar
When calling DragMove on a ToolWindow (with no visible titlebar) the blue placeholder seems to always place itself with the mouse cursor at the top left corner. Is there a place to specify the mouse offsets so that the blue placeholder is correctly aligned?

Comments (3)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Jonathan,

Currently the mouse pointer is placed in a fixed location, as the DragMove can be called at any point and may not even be near the ToolWindow on screen.

What do you mean by correctly aligned? Are you calling DragMove when the mouse is over the associated ToolWindow?


Actipro Software Support

Posted 8 years ago by Jonathan Reis
Avatar
That is correct. So the mouse is being pressed at a specific location over the toolwindow, and ideally that position is used as the offsets for the blue placeholder.
Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Jonathan,

I've marked down a TODO item to see about adding better mouse placement when over the associated window in the future.


Actipro Software Support

The latest build of this product (v2018.1 build 0675) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.