I used the tkinter module of python and wrote a GUI program containing the Menu control. But at runtime, I found that when I clicked the menu, it displayed, but disappeared at once, unless I kept holding down the left-button. btw, the response function of the menu is normal, and the other applicationes are normal. Later, by withdrawing from other procedures one by one, it was found to be the cause of Kingsoft PowerWord. Some netizens said that this may be why Kingsoft PowerWord used the global mouse event hook.
so: 1. How to solve this problem? 2. Can someone please explain the relevant knowledge. thanks.