Thread: Drag and drop in WinAPI

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    329

    Drag and drop in WinAPI

    Anybody know how to do this in API?
    I can't imagine that i have to subclass and capture mousedown/up messages..?
    That's what i've come up with until now...I can't seem to find any WM_ messages regarding this.

  2. #2
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    DragAcceptFiles() and WM_DROPFILES
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  3. #3
    Registered User
    Join Date
    Feb 2002
    Posts
    329
    Thanks. I'll try that.
    It doesn't seem to be what i need though...I'm gonna drag items from one listview to another on the same form.

  4. #4
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    Well there's DragDetect() if that's what you need.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [C] Drag and drop controls
    By pc2-brazil in forum Windows Programming
    Replies: 1
    Last Post: 09-02-2008, 02:41 AM
  2. Drag & Drop files into my (and other) apps
    By Mastadex in forum Windows Programming
    Replies: 1
    Last Post: 11-07-2007, 05:59 AM
  3. DataGrid drag and drop
    By gtriarhos in forum C# Programming
    Replies: 0
    Last Post: 10-11-2005, 12:36 PM
  4. Drag and Drop using CImageList, Device contexts and BitBlt
    By MJWhiteman2 in forum Windows Programming
    Replies: 0
    Last Post: 03-03-2005, 07:22 AM
  5. Drag and drop from Internet Explorer
    By Echidna in forum Windows Programming
    Replies: 5
    Last Post: 10-02-2002, 02:14 AM