|Visual Studio 2008, MFC, C++, Windows 7 and Windows XP
My project uses WCHAR and a dialog needs a CListBox. But CListBox does not like wchar_t or WCHAR. In particular, method AddString(). My searches have not discovered a CListBoxW or anything that looks like wchar_t methods. What is the proper control to use that performs the CListBox operations?
I see that CString will work, but then the WCHAR must be converted to CString. Must that path be taken?
Resolution: I was certain Unicode was selected. I was wrong, MBCS was selected. Changing that to Unicode resolved the apparent inconsistencies.
Thank you for your time
modified 29-May-15 9:59am.