Jump to content
Sign in to follow this  

ListView Item Clicked help

Recommended Posts


I have a GUI with a ListView populated by an array. I need the Gui to update with more controls when the user clicks on an item in the list. However I have no clue how to know when the user clicks on an item. If anyone has any suggestions I would appreciate it. Thanks.

Here is the Gui if you need it.

$Test = GUICreate("Test", 413, 298, 524, 167)
$ListView1 = GUICtrlCreateListView("Qty|Description|Part Number|Total", 0, 0, 266, 129)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE


Share this post

Link to post
Share on other sites

Thank you. Looks to be exactly what I am looking for. Now off to research how to use it. Thanks again.

Your suggestions for others have been very useful in my coding projects. I appreciate your helpfulness.

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.