Jump to content

Do no how to do it...


 Share

Recommended Posts

:) 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
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...