"Link cursor" when dragging parts in outline view [message #237179] |
Wed, 25 July 2007 08:35 |
Marian Schedenig Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Hi!
In my outline view I'm showing a few edit parts which can be linked by
dragging one on top of the other. To show the user that this is a link
operation and not (as with most other edit parts) a move, I want to show
the link mouse cursor (like the one Windows' Explorer displays when
dragging a file as a link).
I've run into two problems:
1) I tried attaching a drag tracker to my edit part, but
calculateCursor() gets called only once, and the resulting cursor is
never displayed (or so briefly that I cannot see it). The current tool
is repeatedly asked for its cursor, but that also isn't displayed as
soon as a drag operation is in progress. But I haven't been able to find
out who is providing the cursor that actually gets displayed.
2) How do I create the link cursor? "Real" drag & drop operations
display it correctly when required, but I can't find a matching style
constant in the Cursor class.
Thx,
Marian.
|
|
|
Powered by
FUDForum. Page generated in 0.02659 seconds