Page 1 of 1

clipboard question

Posted: Thu Aug 03, 2006 9:57 pm
by jbmmpm
Is there any way to determine where the data in clipboard came from?
My application needs to do special processing, based on richview item tags,
if the data came from my application, otherwise it will just process the paste as usual.

Thanks in advance for any help on this.
jbmmpm

Posted: Fri Aug 04, 2006 12:10 pm
by Sergey Tkachenko
Your application can copy some additional custom format to the Clipboard
(in TRichView.OnCopy event). See RegisterClipboardFormat (WinAPI function). If this format is present, these data were copied by your application (but may be another instance of it)