none
GetClipboardOwner() doesn't work correctly after data is inserted into clipboard by UWP application RRS feed

  • Question

  • My desktop C++ application is processing WM_DRAWCLIPBOARD message. Then it uses GetClipboardOwner() to detect which application changed the clipboard. It works well for all common applications.

    However, if the application is UWP application (e.g. Calculator, Paint3D) GetClipboardOwner() always returns the same handle value and it is related to svchost.exe process.

    How to detect which UWP application changed the clipboard?


    Thursday, June 18, 2020 2:31 PM