Hi, i'm working on a little project and i would like to implement the Drag and Drop feature. It's WinAPI C based. I searched around on the Net, but didn't find anything concerning WinAPI, just found for C#, Vb... Thanks
Hi. I'm assuming that you mean dragging and dropping files from Windows Explorer. You should handle the WM_DROPFILES message. Call DragAcceptFiles() to inform Windows that you are able to process WM_DROPFILES. The wParam will be a (HDROP) handle to an internal structure describing the dropped files. This handle can be used with DragFinish(), DragQueryFile(), and DragQueryPoint() to retrieve information about the dropped files. Should get you started
Ok thank you very much, i think it will be enough for me to do what i want, Thanks ! Edit: Ok i'm done thanks, but just annother thing. The drag & drop is enabled on the whole window, i just want to limit this to an edit control, any idea how i can do this ? thx all