Managing DoubleClick in CListCtrl with scrollbars
-
Hi Guys What's the way to get the Item & subItem when I double clic in a CListCtrl That's what I have, but, how to get Item & SubItem from that? void CDlgDebug::OnDoubleClickList(NMHDR* pNMHDR, LRESULT* pResult) { }
Look up the
NMLISTVIEW
structure - you will be casting theNMHDR
pointer to aNMLISTVIEW
pointer and getting the information from it. Peace!-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites (Please rate this post!) -
Look up the
NMLISTVIEW
structure - you will be casting theNMHDR
pointer to aNMLISTVIEW
pointer and getting the information from it. Peace!-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites (Please rate this post!)