Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Drag Drop,overwritefile

Drag Drop,overwritefile

Scheduled Pinned Locked Moved C / C++ / MFC
question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    john5632
    wrote on last edited by
    #1

    Hi Experts, 1.Is there any simple artical to Darg Drop a file from ListView to ListBox? 2.I have created a file onto harddisk. Can I modify its data from in between?

    S 1 Reply Last reply
    0
    • J john5632

      Hi Experts, 1.Is there any simple artical to Darg Drop a file from ListView to ListBox? 2.I have created a file onto harddisk. Can I modify its data from in between?

      S Offline
      S Offline
      Shaheed Legion
      wrote on last edited by
      #2

      Hmmm , I haven't tested this , but , have you enabled Drag and Drop on the HWND of the two controls? That way you will get a drop message when the user drags an item , then you should subclass the controls WndProc and handle only that message (call DefWindowProc when done handling) so that you can emulate Drag & Drop behaviour for the controls. You can do File Manipulation within the message handler itself.

      The tears shed in vain and the hatred and pain will be nothing but dust at the end of the day

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups