c# catch clipboard changes, wont work if form minimized to tray
Posted
by AnyM
on Stack Overflow
See other posts from Stack Overflow
or by AnyM
Published on 2010-03-21T23:50:08Z
Indexed on
2010/03/21
23:51 UTC
Read the original article
Hit count: 491
Hi .. i have a problem using the "Catch Clipboard Events code" found on this link :
http://stackoverflow.com/questions/621577/clipboard-event-c/2487582#2487582
the code works great only if the form stays in the foreground, not minimized to tray BUT: if you add a notifyicon and minimize the form to tray and turn the showintaskbar to false (so that you only have an icon in the tray), the program wont catch any clipboard changes anymore ... even if you maximize the form back, it wont work again ...you have to restart the program ..
any idea on how to solve this issue !? how can i catch clipboard changes, even if the form is minimized into the tray !?
any help is really appreciated ...
Thanks
© Stack Overflow or respective owner