Jump to content

Recommended Posts

Posted

:) I have treeview control im my program, and for example I need to show MSG BOX when i'm doubleclicking on item in that tree view...

Key-loop in my program...

$active = 0
While 1
$nMsg = GUIGetMsg()
 $iTreeInd = GUICtrlRead($TreeView1)
For $i = 1 To $counter
    If $iTreeInd = $treeItem[$i][0] Then
   If $iTreeInd = $active Then Exitloop
            $active = $iTreeInd
           MsgBox(0,"TEST",$treeItem[$i][0])    
   Exitloop
        Endif
    Next
    

Select

Case $nMsg = $GUI_EVENT_CLOSE
Exit

EndSelect
WEnd
[RU] Zone

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...