GetMem,
I did, but my problem is that this would filter out genuine updates too. Anyhow thanks for your time spent on it. I would like to catch all real update events (even those cases when the same text gets copied to the clipboard), but I am starting to think it is not possible that way.
However, I have found this post on superuser:
http://stackoverflow.com/questions/30892931/how-to-deal-with-the-clipboard-message-wm-drawclipboard-which-is-sent-multiple-t and i am afraid that what i would like to achieve is simply not possible:
Outlook fires the clipboard multiple times and even fires the clipboard when it gets focus. Solution - I only react on one of the events within 200ms. I also only react on a clipboard event when the control key is pressed. (this is a special case for me as I only want to do this for keyboard copy and not mouse copies)
It is very annoying though that this happens with an app that is made by MS on a OS made by MS...
So my app shows every time the user copies something to the clipboard (99% from subject line / mail body of an outlook email) it check if this is a ticket reference and if it is then pops up the details of the ticket so the user can decide what is the best action (with this mail / ticket).
I think the dev in the post is trying to write a similar app to mine. I was thinking of a similar solution so log all "CTRL+C" keypress and if there was no such event in the past 1 or 2 seconds there will be no pop up.
The best would be of course find some difference between the two updates or to fix outlook somehow. However the last is the least likely....
Thank you all again, I am still thinking on other ways to sort this but not much comes to mind...