I wrote a Delphi program. At the start, it put an icon on the task bar in the sys try zone, and autohide. If I move the mouse over the icon and press the right button, it displays a pop up menu.
This is OK. But now if I drag the mouse somewhere on the screen and I push the button, I can`t hide the pop up menu. I tried to use the Application.OnDeactivate event, but it doesn't work. How can I solve this problem ?
This is OK. But now if I drag the mouse somewhere on the screen and I push the button, I can`t hide the pop up menu. I tried to use the Application.OnDeactivate event, but it doesn't work. How can I solve this problem ?