J
JP
Advice needed. I have a working control in VB.Net that does Drag&Drop
to/from Shell Folders. So far, I have not had to implement my own COM
IDataObject. However, as expected, the Shell Folders do Move & Copy
asynchronously and that makes it difficult to reliably update my
control's appearance. From the documentation, it appears that I should
be using the IDataObject's CFSTR_LOGICALPERFORMEDDROPEFFECT format to
determine what the actual result of a Drop is. My questions:
1. does CFSTR_LOGICALPERFORMEDDROPEFFECT actually give me the desired
result -- knowing the Final result of the Drop?
2. If so does it block until completion or do I have to block?
3. Is there any way to use .Net's DataObject to interact with this
format?
4. If the answers lead me to implementing my own IDataObject, is there
an example VB.Net or C# version?
This is a fairly minor inconvenience for my control, so I'd rather not
have to spend the time developing my own version of the COM IDataObject
interface from scratch.
I am aware of the IASyncOperation interface, so my questions could also
apply to that approach.
Thanks for any help!
to/from Shell Folders. So far, I have not had to implement my own COM
IDataObject. However, as expected, the Shell Folders do Move & Copy
asynchronously and that makes it difficult to reliably update my
control's appearance. From the documentation, it appears that I should
be using the IDataObject's CFSTR_LOGICALPERFORMEDDROPEFFECT format to
determine what the actual result of a Drop is. My questions:
1. does CFSTR_LOGICALPERFORMEDDROPEFFECT actually give me the desired
result -- knowing the Final result of the Drop?
2. If so does it block until completion or do I have to block?
3. Is there any way to use .Net's DataObject to interact with this
format?
4. If the answers lead me to implementing my own IDataObject, is there
an example VB.Net or C# version?
This is a fairly minor inconvenience for my control, so I'd rather not
have to spend the time developing my own version of the COM IDataObject
interface from scratch.
I am aware of the IASyncOperation interface, so my questions could also
apply to that approach.
Thanks for any help!