Hi all friends,

I create a treeview with NM_DBLCLK struct for detected item double click. My problem is how i dedected double clicked item rootitem or childitem ? I try cChildren but not working.

Thanks for advance,

Posted on 2003-09-03 10:03:02 by CYDONIA
Try TVM_GETNEXTITEM and check for the caret, it will be on the double-clicked item.

invoke SendMessage, hTreeview, TVM_GETNEXTITEM, TVGN_CARET, hRoot
Posted on 2003-09-03 10:07:51 by donkey
Thanks Donkey for fast help :alright:

Posted on 2003-09-03 10:46:04 by CYDONIA