Selecting list items under the mouse
Gian Lorenzetto
gian at anatomics.com
Wed Aug 2 21:37:43 PDT 2006
Hi all,
I have a list ctrl that should highlight items under the mouse as the
user moves the cursor over the list (without the user clicking).
However, I can't seem to find a simple solution to this problem.
My current approach is to use the HitTest() method of listctrl to get
the item index and then select the item, only I can't work out how to
get the mouse move events from the listctrl. Am I going about this the
wrong way? Should I be subclassing the listctrl and catching the mouse
events there?
Seems like something that would be commonly asked, but either it isn't
or my googling skills have deserted me ...
Any help appreciated,
Gian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20060803/64c38b51/attachment.htm
More information about the wx-users
mailing list