This is not terribly important, but anyway I'm wondering if we can make a small change in the behavior of smart tags.
In VS2005, smart tags open a "context menu"-like control when they are clicked. As such, I have implemented my code to do the same. As you have already made the change to auto-hide the smart tag after a small amount of time (5 sec default), the behavior is close to VS2005. However, when a VS2005 smart tag is clicked, the smart tag stays visible until the context menu is clicked, regardless of how long the menu is left open. It does not "auto-hide" while the menu is open. Also, the "down arrow" stays visible once it is clicked (and the menu is open).
Once the menu is dismissed, the smart tag is hidden.
Easiest way I can see for this to work is this:
1) provide a way to tell an individual smart tag that it has a menu open and it should not autohide. Probably should be able to tell it to turn autohide back on when the menu is dismissed.
2) modify the behavior of the UI elements to work slightly differently (i.e. keep the arrow visible when the drop down is displayed - we might be able to use the same method as #1 for this).
Thanks,
Kelly
In VS2005, smart tags open a "context menu"-like control when they are clicked. As such, I have implemented my code to do the same. As you have already made the change to auto-hide the smart tag after a small amount of time (5 sec default), the behavior is close to VS2005. However, when a VS2005 smart tag is clicked, the smart tag stays visible until the context menu is clicked, regardless of how long the menu is left open. It does not "auto-hide" while the menu is open. Also, the "down arrow" stays visible once it is clicked (and the menu is open).
Once the menu is dismissed, the smart tag is hidden.
Easiest way I can see for this to work is this:
1) provide a way to tell an individual smart tag that it has a menu open and it should not autohide. Probably should be able to tell it to turn autohide back on when the menu is dismissed.
2) modify the behavior of the UI elements to work slightly differently (i.e. keep the arrow visible when the drop down is displayed - we might be able to use the same method as #1 for this).
Thanks,
Kelly
Kelly Leahy Software Architect Milliman, USA