How To Launch an Application via Drag and Drop onto a Shortcut
Article ID: 203327
Article Last Modified on 7/11/2005
APPLIES TO
- Microsoft Platform Software Development Kit-January 2000 Edition, when used with:
- Microsoft Windows 98 Standard Edition
- Microsoft Windows 2000 Standard Edition
This article was previously published under Q203327
SUMMARY
When an application is serving as a file drag-and-drop source, it is necessary for the source's IDataObject to support multiple clipboard formats to allow the file object to be dropped on a shortcut.
MORE INFORMATION
When a file object is dropped on a shortcut to an application, the application that the shortcut refers to is launched with the dropped file name supplied on the application's command line. To allow this to work correctly, the drag-and-drop source's IDataObject must support both the CF_HDROP and the CFSTR_SHELLIDLIST clipboard formats.
Additional query words: drag drop
Keywords: kbhowto KB203327