Skip navigation
Currently Being Moderated

Possible to set mouse cursor during NativeDragDrop operation?

Mar 23, 2013 5:08 PM

Tags: #air #cursor #nativedragdrop

In an AIR app, I am trying to implement a tab interface like the one in Firefox or Chrome where you can drag a tab and create a new window from it. All goes well except when I drag the mouse out of my application over the (Windows) OS, the mouse cursor indicates that the system will not accept the drop operation. It shows something like this: http://www.iconfinder.com/icondetails/42419/16/denied_icon

 

It is technically not a problem as my app will still receive a nativeDragComplete event but is bad for user experience. What I would like to achieve is to show a normal mouse pointer and display a drag indicator next to it, like browsers do. Can I somehow force the NativeDragManager not to show the denied icon?

 

I've tried playing with various clipboard formats as it seems to be influencing the mouse pointer but couldn't find a complete solution to this problem. Any ideas?

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points