Jump to content
Sign in to follow this  
Enforcer

Do no how to do it...

Recommended Posts

Enforcer

:) 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

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.