Drag and Drop

new topic     » topic index » view thread      » older message » newer message

Inside Win32lib, function fDoMouse, I noticed these lines:

if length(vDragData) > 0 then
                -- I'm draging something. --
                -- First, tell the destination control.
                VOID = invokeHandler(id,          w32HDragAndDrop, vDragData)
                -- Secondly, tell the source control
                VOID = invokeHandler(vDragData[1], w32HDragAndDrop, vDragData)
                -- Reset the cursor shape.
IndicateDragging( vDragData[1], w32False ) -- Reset drag cursor
                shape.
            end if


This means, I think, that when I'm dragging something from a treeview to the
same treeview, the routine that handles the drag and drop action for that
treeview is called 2 times, but is not able to understand whics is the first call
and which is the second.
If this correct? 
If it is, have I to modify my copy of win32lib to solve this issue or there's a
smarter way?

Thanks,

papinic

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu