Hey guys, does anyone know how i can retrive the handle to the currently selected TreeView item ?
i've tried some stuff already, mainly using sendmessage and checking some big structures to see if they differ when i click on a different item, but no success.
if somones knows how to do this i would appreciate it
Thanks
-Nonameo-
NoName,
I moved the topic to the Workshop si you would get more answers. The MASM32 subforum is for project related topics.
Hello,
With winhelp , there is no problem to get it.The problem would be in your code.
A little resume on how to proceed.
WM_NOTIFY
TVN_SELCHANGED
;get the item here
Put your code here , if you want someone help you modify it
ToutEnMasm
http://www.codeproject.com/treectrl/treeview.asp
hope my artcle will help you.
You have to send a TVM_GETNEXTITEM message to the TreeView Control,
with flag TVGN_CARET
Manos.
Old topic, I know...but this works perfect. Thanks...
QuoteYou have to send a TVM_GETNEXTITEM message to the TreeView Control,
with flag TVGN_CARET
Regards,
Shantanu