Discussion Locked

Sys-Tray icon's menu selection

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
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.

5 replies

by pritaeas

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.

This discussion is closed to new replies.