Kevin
I wanted to make sure that the all items in the list wouold be automatically
slected as they are in the undo dropdown button in vs.net. I believe that
can probably be done with the MenuItem.Select event.
The other issue was how to get the text at the bottom of the dropdown that
shows the count. I know how to get the count, what is a mistry is how to get
the centered text at the bottom of the dropdown.
Thanks,
Dennis
"Kevin Yu [MSFT]" <v-****@online.microsoft.com> wrote in message
news:aC**************@cpmsftngxa10.phx.gbl...
Hi Dennis,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to know how to get the last
item selected on a combo box to get the count of items selected. If there
is any misunderstanding, please feel free to let me know.
I think we can use ComboBox.SelectedIndex to get the current selected
item.
Since the items before the selected one are all selected, the count equals
to SelectedIndex +1.
HTH.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."