April 18th, 1999, 12:37 AM
Hi,
I am making a program that uses CListView as its main view. I am using: lvi.pszText = szItem; to add text to the items I insert into it.
The computer will only let me use a char value for szItem, but I need it as a CString because all the values I want to pass to it are CString values!!!!
Are there any ways to make a ListView item text a CString value or to convert a CString to char????
Thanks ALOT!!!!!!!!!!!!!
I am making a program that uses CListView as its main view. I am using: lvi.pszText = szItem; to add text to the items I insert into it.
The computer will only let me use a char value for szItem, but I need it as a CString because all the values I want to pass to it are CString values!!!!
Are there any ways to make a ListView item text a CString value or to convert a CString to char????
Thanks ALOT!!!!!!!!!!!!!