Hie!
I was wondering if there is a way (API call) to make a
system hook for Copy/Paste commands, so that I'll be notified if a Copy or Paste command on the computer.
I need it to be a system wide hook.
Any ideas?
Thanks!
To be more exact: i don't want just to monitor the keyboard for various combinations of keys to issue a Copy/Paste command. What i wanna do is actualy monitor the clipgoard using API, so that I can know when a Copy/Paste command has been issued, no mather how (keys combination, right click menu, etc.)
For notification about clipboard copy operation, you need to register a window as a Clipboard Viewer. A clipboard viewer window receives notifications from the system whenever the contents of clipboard are changed. See thread222-576513 for an example of clipboard viewer application.
As far as clipboard paste operation is concerned, there is no system-wide hook or any other mechanism that may notify you of this event. I am not hopeful that Windows API may help you for that.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.