I have a toolstrip, which has a panel in it. the panel is autoscrollable.

I added some buttons to the toolstrip, when added too many buttons, the panel will show a horizontal scrollbar. it works fine. however, there is a problem.

for example, say, the toolstrip can only show 5 buttons, I added 10 buttons. now, I clicked 1st button, then I use right arrow key, try to navigate in these buttons. say, if I press right arrow key 8 times, in the program, I override the ProcessKeyCmd, and move the focus to the 9th button. But, the 9th button can not be seen in the toolstrip, I have to move the scrollbar manually.

is there a way to move the scrollbar automatically? for some reasons, I can not find a way to decide whether the button is inview of the toolstrip.

anyone has suggestions?

thanks

bear