muhmuuh Posted March 26, 2008 Share Posted March 26, 2008 Hello! I want to create a simple gui that has two lists. The one has entries and the other is empty in the beggining. And there would be a button 'move' and when it is clicked the selected entry is moved from the first list to the second. The would be a button 'move back' that will move entries from the second list to the first one and there would be a button 'ok' and then I will need to get all the entries in the second list. Here are the problems I face - how to get all entries in a list? GuiCtrlRead returns only the value that is selected. And the other thing I want to ask is how to remove a single entry from a list? I guess when I can get all entries can go through all of them until I find it and then remove it and use GuiCtrlSetData with the new entries ubt I guess there is an easier way. Would you please help me? Thanks and sorry for my English I ran. I ran until my muscles burned and my veins pumped battery acid. Then I ran some more. Link to comment Share on other sites More sharing options...
Achilles Posted March 26, 2008 Share Posted March 26, 2008 Look at _GUICtrlListBox_AddString, _GUICtrlListBox_DeleteString and _GUICtrlListBox_GetCurSel. My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
muhmuuh Posted March 26, 2008 Author Share Posted March 26, 2008 Thanks. That's what I needed. I don't now why I missed it. Anyway, thank you I ran. I ran until my muscles burned and my veins pumped battery acid. Then I ran some more. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now