Is there a way to disable the mouse hover effect for all controls of a winforms application? I know you can do it by looping over all controls, but I rather do it on application level.
The background is, that I want to disable the input for the whole application (which I did via IMessageFilter
). The user should still be able to move the mouse but not be able to click it. This works perfectly fine, but the hover effect over controls remains.
Edit:
For example if you move your mouse over a button, it indicates that you can click it once the mouse is over that control
The application consists of multiple possible open form, which each can start a backgroundworker (thread) from which I need to control the applications behaviour. So I really like to avoid messing with GUI thread issues.