Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I have implemented a application using CListCtrl, where I am trying to add image in first column and text in 2nd column in a dialog based application using VS 2010.

I was able to show text in multi-line in 2nd column using \r\n.
But when I integrated this sample with my application the multi-lining is not working.
We can see the code in below url

BMPListDlg.cpp : implementation file[^]

The same code I am using and in assigning string to columns I am doing multi-lining using \r\n. This is not working when I am trying to integrate with my application which is again a dialog based application.

Please let me know the different approaches to achieve this.
Posted
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900