ycomp
ycomp

Reputation: 8573

Is it possible to find out what application inserted the text into the clipboard?

Is it possible to find out what application inserted the text into the clipboard?

My guess is no but I'm no windows API expert.

Upvotes: 1

Views: 68

Answers (1)

Remy Lebeau
Remy Lebeau

Reputation: 596256

There is no API for that purpose. You would have to write a DLL that globally hooks the SetClipboardData() and OleSetClipboard() functions in every running process so it can keep track of clipboard assignments and convey that information back to your app when needed.

Upvotes: 2

Related Questions