I am using the code in this thread to catch the Clipboard changes.
what iam exactly or what the code is exactly doing is, registering a clipboardviewer for my application to be able to catch all the clipboard changes made.
once the clipboard changes the WndProc will fire and run the OnClipboardChanged() function..
iam copying the text from visual studio as example by using the keyboard shortcut (Ctrl+C)
When I copy from Visual Studi,, the data will be pasted twice, which means the WM_DRAWCLIPBOARD is called twice?(please check the code)
How can i check or stop this behaviour?
I just want to make sure that the data pasted won't be duplicated.?