I am currently making a win32 console application in c++.
Now, I have to react on the user changing the clipboard content. Currently I am just checking for the user pressing ctrl+c, but obviously that's not enough since it won't track rightclick->copy, etc.
Sadly i cannot just use the winmessage, since i am developing a console application, hence my application does not have its own hwnd.
And i really do not want to copy the clipboard data 10 times a second or so. This is bound to cause problems with other programs since i have to lock and unlock the clipboard every time.
Any suggestions?