I understand that when a checkbox (or anything) is clicked inside a treeview, I will get a %WM_NOTIFY, and that if I grab CBLPARAM.idfrom it will match the handle of my treeview, and that if I look at CBLPARAM.hdr.Code, it will match %NM_CLICK... but I'm sort of lost at that point in getting the handle of the item that was clicked on.
I assumed CBLPARAM.itemNew.hItem or something like that, but no luck.
What I'm trying to do is detect when a checkbox has been flipped on a treeview. Previously I was just scanning the entire thing for changes every time there was a click, but there has to be an easier way to do it.
I assumed CBLPARAM.itemNew.hItem or something like that, but no luck.
What I'm trying to do is detect when a checkbox has been flipped on a treeview. Previously I was just scanning the entire thing for changes every time there was a click, but there has to be an easier way to do it.
Comment