TRAYICON and several messaging functions

xiaoxiao2021-03-06  98

I recently watched the article on MVM on the blog hall -

The keyboard tap counter · .NET implements the Global Hook, I feel very interesting, so I learned myself, I can capture the number of buttons and the mouse position, and put it in the system tray, I want to implement Form's transparent animation. However, two problems have been encountered during the process and have not been able to solve it.

The first is that I have added some messages to the master form, such as double-clicking on the message and MouseEnter, the MouseEleave message implements a function of the message response. But found that these functions are not executed, and the specific performance sets breakpoints in the response function, but can't stop. I don't know if it is related to hook.

The second is that after the program is over, the tray icon is still in the task bar, and the mouse is swayed, and it will disappear. I don't know how to make him disappear with an end program.

Hey, it's really hurting!

转载请注明原文地址:https://www.9cbs.com/read-101828.html

New Post(0)