Detect when cut-ed data is being pasted in MFC COleDataSource VS2008 <p>I need to detect when another application /window in my app does paste on my previously set data , so I can remove it from my source window. I have discovered that <code>COleDataSource::DelaySetData</code> <em>theoretically</em> does this and <code>COleDataSource::OnSetData</code> would get called when paste occurs, but I can not be sure. MSDN is (as usually) vague about this matter and does not clearly say one way or the other.I will be using an custom format and watever format is explorer using for cut/paste files. So the question is how EXACTLY (not theoretically) can this be done. I really need to remove the items from my window <strong>if and only if</strong> they are pasted somewhere else. </p>