I've been chipping away at a small program for a few days now (thanks to those that have helped!). It is a small parsing program that helps swap out one orthography (spelling system) for another so we can read it easier.
I am using a listbox without making a full-blown class for it. I have my parser populate the listbox with multiple possibilities so I can go over them. I've also figured out how to delete a selected item from the listbox as I eliminate them. But what I'd like to do now is take the string (wstring) from the listbox and copy it to the clipboard. I'm not sure how to get at the string from the listbox. I've found things like LB_ADDSTRING, LB_DELETESTRING, etc. but nothing that tells me that I'm getting at the string itself.
Also, I've found some mention of a clipboard class but not sure what I am supposed to do with it to get it going. Is there a way to work with the clipboard without using a clipboard class like I did with the listbox?
I'm not exactly sure about how to go about the error handling and I agree that it is definitely something I would want. Any recommendations on what I should look for?