这不是很简单吗,随便做一个ActiveX控件,用DragAcceptFiles让它接受文件拖放,再在WM_DROPFILES事件中取出各文件上传。

解决方案 »

  1.   

    to : prometheusphinx(白日梦)请说的再明白一些好吗?在控件中怎么用DragAcceptFiles。
    在WM_DROPFILES中怎么得到文件信息和文件内容?
      

  2.   

    File Manager Drag and DropWindows versions 3.1 and later allow the user to drag file names from the file view window in the File Manager (or Windows Explorer in Windows 95 and later and in Windows NT 4.0 and later) and drop them into a window in your application. You might, for example, allow the user to drag one or more filenames into an MDI application's main window, where the application could retrieve the file names and open MDI child windows for those files. To enable file drag and drop in your application, AppWizard writes a call to the CWnd member function DragAcceptFiles for your main frame window in your InitInstance. You can remove that call if you do not want to implement the drag-and-drop feature.Note   You can also implement more general drag-and-drop capabilities — dragging data between or within documents — using OLE. For information, see the article Drag and Drop (OLE).