I have a tray application in WPF and the problem I have comes up at a closer inspection of the context menu behavior. I am running on Windows 7 with Aero theme checked and while everything seems fine I noticed that the application tends to go to the hidden icons area from the windows taskbar. The problem I have is after I open the hidden icons area and right click on the application to get the context menu. If I don't select anything and i just leave it opened, the hidden icons area will collapse (making the application tray icon to disappear Unsure ) while the context menu will remain opened on my desktop. I would like to know if there is a way to make the hidden icons area to stay opened programatically until I close the context menu. (I use WPF + C#)
p.s.: I am using a custom notify icon that acts as a wrapper for the notify icon functionality since in WPF the only way to have access to one is via component class or inheriting WindowsForms (neither work for me because i need to be able to control the UIs i send to be shown through it (tool tips, context menus)).