This is a migrated thread and some comments may be shown as answers.

Drag Drop with Keyborad key status

1 Answer 38 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Rajesh
Top achievements
Rank 1
Rajesh asked on 04 Dec 2009, 07:26 AM
Hi

I am using Drag-Drop manager to drag object from one control to another control.
According to the target indentified I am displaying messages with DragCue.

Here my requirement is when drop is not possible I am displaying message "Drop operation not possible". Additionaly I want to display detail message why the operation is not possible to the use get detail error. The diplay of additional message is required only when specific key ( Control, Alt or shift ) is pressed when user is moving the mouse.

How one can get the status of keys when drag-drop events (DropQuery and Drop ) gets fired ?

-Rajesh

1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 04 Dec 2009, 01:50 PM
Hi Rajesh,

Please check this article:
http://msdn.microsoft.com/en-us/library/system.windows.input.keyboard.modifiers.aspx

You can check which are the active ModifierKeys at any time.

Best wishes,
Valentin.Stoychev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
DragAndDrop
Asked by
Rajesh
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or