Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
720
XamGrid CopyToClipboard fails when notepad++ is open
posted

Hi

I have implemented the XamGrid copy to clipboard operation using the XamGrid.CopyToClipboard method. The method works fine if I do not have notepad++ open. If its open and if I try a copy using Ctrl+C then it fails with the following error.

OpenClipboard Failed (Exception from HRESULT: 0x800401D0 (CLIPBRD_E_CANT_OPEN)) ErrorCode:-2147221040

Kindly let me know what can be done. Also, please note that I cannot add any App.xaml code handlers because I cannot change that file.

Thanks

Chev