The shell gives you the
IDataObject;
all you have to do is drag it around.
(This is the first of a five-part series.)
Start with
the scratch program,
and add
the function GetUIObjectOfFile from an earlier article.
Also, change the calls to
CoInitialize
and
CoUninitialize
to
OleInitialize and
OleUninitialize, respectively,
since we're...