i used Shell_notify api. it is working fine. i pop up one menu by right clicking that icon. by clicking any one, it is working fine. here problem is if i right click and then decide not to select any option and click somewhere else othere than this icon's are. menu still remains. how can i remove that opoup menu if i donot want to select it.
This conversation is currently closed to new comments.
hi, I had the same problem in Delphi. Make sure your tray-icon receives messages (you can use a hidden window) and send a WM_NULL message to it. This will redraw (remove) the popup.
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Sys-Tray icon's menu selection