Results 1 to 2 of 2

Thread: Drag'n'drop from my app to external

  1. #1
    Junior Member
    Join Date
    Feb 03
    Location
    Sweden
    Posts
    27

    Drag'n'drop from my app to external

    I have created a small search program and wonder if it would be possible to drag an item from an listview (a file with a full path) to an external application, e.g. notepad.

    I have searched the api forum, but not found any answers to do it tht way, only the oter way.

  2. #2
    Software Eng. Megatron's Avatar
    Join Date
    Mar 99
    Location
    Canada
    Posts
    11,287
    Funny, there was another Shell Extensions questions today (I don't see them too often).

    Anyway, you want to look into "Shell Extension Handlers." In short, you need register a "DropHandler" in the regsitry, then implement your interface via DLL.

    Like I answered in the other question, this is a whole separate branch of API, and MSDN could probably explain it a lot better than I can. Search "Shell Extensions" in MSDN. Depending on how much you know, you can either start reading directly from there, or you might have to start with the basics of Shell. Make sure you know some knowledge of COM as well.

    If you get stuck, feel free to ask me anything.

Posting Permissions

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