How to get the index of the current hot item of the CListCtrl?
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi everybody, Can you tell me how to get the index of the current hot item(under the mouse) of the CListCtrl. I used the member function "GetHotItem", but it always return -1, why :confused: Thanks! HuChJ
You can use
LVM_HITTEST
to tell which item is at a given point. --Mike-- Latest blog entry: *drool* (Alyson) [May 10] Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber "You have Erica on the brain" - Jon Sagara to me