iMP Posted June 24, 2009 Posted June 24, 2009 I'm trying to make it possible to drag & drop reorder items in a listview by groups, and I have one problem; Is there any way to determine which group is under the cursor in a ListView control? Just like GetItemAt for items, only for groups? I've searched the net but couldn't find anything :confused: When I drop items I get the group from the item it dropped upon, but when there's a empty group, I need to be able to get the header from that group or anything to determine which group it shall be placed in 0.o.. Any help is appreciated! :) Cheers Quote
iMP Posted June 26, 2009 Author Posted June 26, 2009 I figured out a quick and easy solution, just found the closest item below the drop location, if any, and got the group from it. It works nice now:] Though if anyone got a better method, please post ^^ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.