As there is no MouseMove event for a combo box (unlike edit boxes etc), is there anyway to fire some code when the user moves the mouse over a combo box ?????
Thanks
Printable View
As there is no MouseMove event for a combo box (unlike edit boxes etc), is there anyway to fire some code when the user moves the mouse over a combo box ?????
Thanks
How about doing it implicitly from the Form's MouseMove Event - if the X and Y co-ordinates go beyond a certain range then you can assume you are over the ComboBox, there will be no more X,Y until the cursor moves off the ComboBox. This does not help with MouseMoves within the box itself but it is a start.
the only alternative is to create a User Control and delegate the MouseMove event back to the form? This is a really hazy area for me, but it might be worth investigating.
Cheers,
P.
What about simply putting an unvisible label that fits exactly the combobox dimensions. You can then set a trigger to mousemove over this label.
maybe you could subclass the hwnd and intercept the messages.
td.
Isn't that what you do when you create a user control that uses multicasting?
It's an area I am trying to get into, but events keep conspiring against me, teehee
P.