Click to See Complete Forum and Search --> : Clipboard ID


newvisva
March 26th, 2004, 04:04 AM
I'm using a timer to catch images that were copied to the clipboard.

The fact that I don't want my program to copy back the same image when the next timer interval occurs.

So my question is... can i somehow get a "clipboard ID" or something that informs my program not to copy repeated image?

Thank You

Gizmo001
March 26th, 2004, 08:23 AM
When you put image on the clipboard, use "False" to prevent clipboard from keeping the image:

system.windows.forms.clipboard.setdataset(Image, false)

Good luck.

DSJ
March 26th, 2004, 09:24 AM
You can set a hook to get notified when something new comes into the clipboard... I have an example somewhere and will post later...

DSJ
March 26th, 2004, 09:39 AM
Attached...

newvisva
March 27th, 2004, 10:00 AM
DSJ,

Thank you alot for ur answer & attachment! That's what I'm looking for. A 5 star from me...

Gizmo001,
Your solution has also taken into account as well, Thanks