Hello, I want to allow users to be able to double click a tree view, and then retrieve the element they clicked, currently I am doing it as follows, and everything works except, it's always a blank text returned, I seem to be missing some step, could someone take a peak at my code and help me? thanks.
Case $NM_DBLCLK ; The user has double-clicked the left mouse button within the control $SNAME = _GUICtrlTreeView_GetText($contactlist, $idfrom) _debugprint($SNAME) _DebugPrint("$NM_DBLCLK" & @LF & "--> hWndFrom:" & @TAB & $hWndFrom & @LF & _ "-->IDFrom:" & @TAB & $iIDFrom & @LF & _ "-->Code:" & @TAB & $iCode) ;~ Return 1 ; nonzero to not allow the default processing Return 0 ; zero to allow the default processing