G
Guest
Hello,
I am looking for a clever way to prevent someone from pasting copied text
outside of my app.
I know how to monitor the clipboard and get an WM_DRAWCLIPBOARD message when
text is stored in the clipboard... If only I could detect some kind of
outgoing message that the clipboard is about to paste, then I could check to
see if my app is currently in focus and allow/deny as necessary.
I would just erase the clipboard upon the app loosing focus, but I can see
cases where that would be a pain to the user if they just had to click
somewhere else real quick.
Anyone have any ideas?
Thank you all for reading this.
Rob K
I am looking for a clever way to prevent someone from pasting copied text
outside of my app.
I know how to monitor the clipboard and get an WM_DRAWCLIPBOARD message when
text is stored in the clipboard... If only I could detect some kind of
outgoing message that the clipboard is about to paste, then I could check to
see if my app is currently in focus and allow/deny as necessary.
I would just erase the clipboard upon the app loosing focus, but I can see
cases where that would be a pain to the user if they just had to click
somewhere else real quick.
Anyone have any ideas?
Thank you all for reading this.
Rob K