[Win32utils-devel] Creating a clipboard monitor
phasis at gmail.com
Thu Apr 23 20:53:37 EDT 2009
2009/4/24 Daniel Berger <djberg96 at gmail.com>:
> Many thanks for this. I've made the changes in windows-pr (including the
> addition of DefProcName in Windows::Window::Message)
> The only issue I had was that it always returns at least 1 notification when
> I first run the program, even when the clipboard is clear.
> I could add an internal counter easily enough and only yield after the 1st
> notification, but I wanted to make sure there wasn't a more appropriate
> solution first.
I guess the first notification is for giving the chance of display the
current clipboard content to the new attached clipboard viewer.
Thus Initializing flag would be sufficient.
More information about the win32utils-devel