General discussion

Locked

Sys-Tray icon's menu selection

By amishah_2001 ·
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.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Sys-Tray icon's menu selection

If clicking away from the menu doesn't work, you could add a dummy "Cancel" item to the menu which does nothing.

Collapse -

Sys-Tray icon's menu selection

by amishah_2001 In reply to Sys-Tray icon's menu sele ...

The question was auto-closed by TechRepublic

Collapse -

Sys-Tray icon's menu selection

by pritaeas In reply to Sys-Tray icon's menu sele ...

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.

Collapse -

Sys-Tray icon's menu selection

by amishah_2001 In reply to Sys-Tray icon's menu sele ...

The question was auto-closed by TechRepublic

Collapse -

Sys-Tray icon's menu selection

by amishah_2001 In reply to Sys-Tray icon's menu sele ...

This question was auto closed due to inactivity

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums