How ownership of the Windows clipboard is tracked in Win32

31 · Raymond Chen · May 26, 2021, 2:22 p.m.
In Win32, there is the concept of a clipboard owner. How does that work? The intended rule is that the clipboard owner is the window that created the data that is currently on the clipboard. The intended usage pattern for putting data on the clipboard is Call Open­Clipboard(hwnd) passing the window that you want to become the new clipboard owner. The post How ownership of the Windows clipboard is tracked in Win32 appeared first on The Old New Thing....