Willy-Kimura / SharpClipboard

A library for anonymously monitoring clipboard entries.
188 stars 36 forks source link

Fix monitoring in multiple instances #8

Closed chrfin closed 4 years ago

chrfin commented 4 years ago

I faced the problem that the clipboard monitor only worked for the last started instance/process.
This was caused because the WM_DRAWCLIPBOARD was not forwarded to the next window in the clipboard chain. This was fixed by adding SendMessage(_chainedWnd, m.Msg, m.WParam, m.LParam); on Ln 230.

Willy-Kimura commented 4 years ago

Great. All tests have been passed. Will be pushing an update soon enough.