Does anyone know how to implement or of some example source code to make a drag and drop window. Kinda like in Winzip, when you''re making a zip file, you cand just open up the directory, and drag the files icon into winzip and it adds it to the zip. I don''t want to know how to make zip files, I just want to know how to set up the window to detect if a file has been dragged into the client area.
"We are the music makers, and we are the dreamers of the dreams."
- Willy Wonka
Drag & Drop
Call DragAcceptFiles then you will receive WM_DROPFILES messages. A little more complex is using RegisterDragDrop. If you are prepared to accept any file then DragAcceptFiles should work fine.
Keys to success: Ability, ambition and opportunity.
Thanks, that''s just what I was looking for.
"We are the music makers, and we are the dreamers of the dreams."
- Willy Wonka
"We are the music makers, and we are the dreamers of the dreams."
- Willy Wonka
Hey dave, was up!?
----------------------------------------Implementation is everything. Period.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement