Sign in to follow this  
Followers 0
JesusIsKing

List control in another window

5 posts in this topic

How do I read all of the items in a list control from another window and write them into my listview?

Share this post


Link to post
Share on other sites



Use latest beta (or 3.2.10 RC) and look into Helpfile at these UDF functions:

_GUICtrlListBox_GetCount()

_GUICtrlListBox_GetText()

For ListView use standard GUICtrlCreateListViewItem()

Share this post


Link to post
Share on other sites

Use latest beta (or 3.2.10 RC) and look into Helpfile at these UDF functions:

_GUICtrlListBox_GetCount()

_GUICtrlListBox_GetText()

For ListView use standard GUICtrlCreateListViewItem()

Will this work?

For $a = 0 To _GUICtrlListCount($ListBox) - 1
                        GUICtrlCreateListViewItem(_GUICtrlListGetText($ListBox, $a), $sListView)
                    Next

Share this post


Link to post
Share on other sites

Will this work?

For $a = 0 To _GUICtrlListCount($ListBox) - 1
                        GUICtrlCreateListViewItem(_GUICtrlListGetText($ListBox, $a), $sListView)
                    Next
it doesn't. i tried it and i really need some help.

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  
Followers 0