Mouse move event in a combo box in vb6

I have items in the combox like this
In the combobox
is there any way to get the selected index of items by moving the mouse over them and not clicking them
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
you can try combo1.SelectedIndex

no need to get it via mouseover event...
isnoend2001Author Commented:
Where would that be written
Here are some of the events:
Private Sub cboTasks_GotFocus()
Private Sub cboTasks_Click()
Private Sub cboTasks_DropDown()
Private Sub cboTasks_Scroll()
Private Sub cboTasks_DragOver(Source As Control, X As Single, Y As Single, State As Integer)
None seem to do what i want
Martin LissOlder than dirtCommented:
A VB6 combobox does not have a mouseover event.
If you want the Index of the selected item do this anywhere in your code.

MsgBox cboTasks.ListIndex

To get the text of the selected item do either of these:
MsgBox cboTasks.Text
MsgBox cboTasks.List(Combo1.ListIndex)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Martin LissOlder than dirtCommented:
If that doesn't help, please describe in other words what you want to do.
isnoend2001Author Commented:
Thanks I am going to use the click event seeing how the combobox does not have mouseover or mousemove event.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.