Re: save windows clipboard content temporarily and restore later

2009-10-12 Thread Neil Hodgson
kakarukeys: > I followed your hints, and wrote the following code. It works for most > clipboard formats except files. Selecting and copying a file, followed > by backup() and restore() throw an exception: For some formats the handle stored on the clipboard may not be a memory handle so may no

Re: save windows clipboard content temporarily and restore later

2009-10-12 Thread kakarukeys
On Oct 10, 6:00 am, Neil Hodgson wrote: > kakarukeys: > > > I followed your hints, and wrote the following code. It works for most > > clipboard formats except files. Selecting and copying a file, followed > > by backup() and restore() throw an exception: > >    For some formats the handle stored

Re: save windows clipboard content temporarily and restore later

2009-10-09 Thread kakarukeys
On Oct 9, 11:30 am, Neil Hodgson wrote: > kakarukeys: > > > Restoring the data with that format could result in information loss, > > for example when HTML text is saved in ordinary text format. There is > > no format that could preserve 100% of any kind of clipboard content. > > > Does anyone has

Re: save windows clipboard content temporarily and restore later

2009-10-09 Thread Neil Hodgson
kakarukeys: > Restoring the data with that format could result in information loss, > for example when HTML text is saved in ordinary text format. There is > no format that could preserve 100% of any kind of clipboard content. > > Does anyone has a brilliant solution? Enumerate all the clipbo