I am developing an MFC application. The UI will contain a Listbox with multiple options. Each selection in the list box has a respective function to be executed. I have written event handlers for doubleclick of the listbox selections.
There are few scenarios in each function where in I may have to display a few messages and a few values (just like how we do with printf).
I would like to know how to achieve this with EditControl. I want these messages to appear in the EditControl.
I might have missed the point here but can you not use a CString and the Format function to setup the string before displaying it?