Can someone please point me to an example C program that allows to Save and Load listbox content? I know how to save and load edit box content but listbox is a bit trickier.
Can someone please point me to an example C program that allows to Save and Load listbox content? I know how to save and load edit box content but listbox is a bit trickier.
For edit box I presume you're using SendMessage to the window... Try the same function but with a different message value.
I've decided to approach this from a different way. Save the listbox content to an edit box and than save that to file.
The listbox has specific functions/methods in the Win32 API that will allow you to do many many things with them. Might I suggest using MFC?
Something like that is all you need in MFC.Code:CListBox MyListBox; MyListBox.AddString("Test");