Christof
You wrote in message news:
[hidden email]...
> can anybody put me in the right direction for searching how it is possible
> to monitor the clipboard for every change in the clipboard. I'd like to
try
> to write a program wich logs all the web-urls, wich are stored in the
> clipboard an put them in a tree-view for later use them again.
>...
It is achieved by registering a Window on the clipboard notification chain
using the SetClipboardViewer() API. It is then necessary to hook a couple of
new Windows messages and respond to them as described in Microsoft's
documentation, e.g.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/clipbrd_28tu.asp. A sensible way to proceed would be to add a specialised View
subclass to act as the "event sink" for the clipboard notifications.
Although some fairly low-level Dolphin stuff will be required (e.g.
registering some the new Windows messages and adding handlers, for an
example of which see Ian Bartholomew's base 'IDB Common' package from his
goodies collection:
http://www.iandb.org.uk/goodies4/goodies4.html), it
doesn't look to be that complicated.
Regards
Blair