Results 1 to 2 of 2

Thread: Drag n' Drop

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Vaxjo, Sweden
    Posts
    85
    You know how in some programs, you can drag stuff to the explorer or to the desktop, and it creates a file or a link or something. How do you pickup the event that you have dragged something from, say a listview, to the desktop?

    //Anders
    Reality is what you make up when you can't handle your fantasies.

  2. #2
    Addicted Member
    Join Date
    Jul 1999
    Location
    St-Élie d'Orford, Quebec, Canada
    Posts
    133
    Hi,

    I'am a little busy so this will be short and sweet...

    Use a listview and look at it' OLEStartDrag, OLEDragCompleted events. What I would do is in the
    completed event I would look at the position of the mouse.
    If mouse outside my app I would consider it to be a shortcut
    creation... Maybe little cheap but I think it could work !

    bye

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width