I have a program that I have put in the system tray using Shell_NotifyIcon. The program includes a toolbar and a treeview. When the both the treeview and the toolbar are visible the system tray icon will not respond to any events. However, if either the treeview or toolbar (or both) are not visible then the system tray icon works fine and will display the required menu.
I was wondering, do the on_buttonclick and nodeclick events steal the messages?
Does anyone know of a way around this?

Pleae help it's driving me nuts.

Regards
Matt