Discussion:
cut-paste operations on files
(too old to reply)
feoggou
2010-11-26 15:23:53 UTC
Permalink
Hello

I perform a cut-paste operation - I use windows 7 - and, after perfroming tha
cut & paste operation, using CF_HDROP and CFSTR_PREFERREDDROPEFFECT
"cut" from my application, "paste" in windows explorer,
see that windows does not clean the clipboard, so that "Paste&quot
remain
un-grayed after I move the file/files. however, the file/files are move
successfully

Should I use CFSTR_SHELLIDLIST instead? If this is what I must do, I don'
kno
how to use it - I don't know how to fill the hGlobal with pidls

or, do you have any idea why my cut-paste is not working properly?
Leo Davidson
2010-11-26 17:36:45 UTC
Permalink
 I perform a cut-paste operation - I use windows 7 - and, after perfroming that
 cut & paste operation, using CF_HDROP and CFSTR_PREFERREDDROPEFFECT,
Is your IDataObject returning DROPEFFECT_MOVE when asked for
CFSTR_PREFERREDDROPEFFECT?
feoggou
2010-11-27 10:12:41 UTC
Permalink
Leo Davidson wrote on 11/26/2010 12:36 ET
Post by Leo Davidson
 I perform a cut-paste operation - I use windows 7 - and, afte
perfroming tha
 cut & paste operation, using CF_HDROP an
CFSTR_PREFERREDDROPEFFECT
Post by Leo Davidson
Is your IDataObject returning DROPEFFECT_MOVE when asked fo
CFSTR_PREFERREDDROPEFFECT
yes, CMyDataObject::GetData receives DROPEFFECT_MOVE from the forma
CFSTR_PREFERREDDROPEFFECT.

Loading...