Beispiel #1
0
 public OpenClipboard_(bool createOwner, bool noOpenNow = false)
 {
     _isOpen = false;
     _w      = default;
     if (createOwner)
     {
         _w = WndUtil.CreateWindowDWP_(messageOnly: true);
         //MSDN says, SetClipboardData fails if OpenClipboard called with 0 hwnd. It doesn't, but better use hwnd.
     }
     if (!noOpenNow)
     {
         Reopen();
     }
 }