I'm using the Win32 API to write an application where the user can create a list of items (combobox), and when he clicks on an item in the combobox, it allows them to change it's settings (by referencing the equivalent index in a separate array of objects). I would like to know how to change the text of the item in the combobox that the user has currently selected based on what they typed into an edit control.
I already know how to get the index of the selected item and get the text the user typed in to the edit control, I just need to know how to set the text of the selected item in the combobox.
but no luck. the "dName" variable is a LPSTR that contains what the user types in. I did debug the program, and it does contain a value when I execute the command above. I also checked to see if the "animationIndex" variable points to a valid index in the combobox, which it does.