Click here to Skip to main content
11,706,323 members (45,108 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: MFC VC++
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 16-Mar-13 1:46am
SNI1.5K
Edited 16-Mar-13 2:29am
(no name)139.6K
v2

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

  Print Answers RSS
0 OriginalGriff 142
1 Sergey Alexandrovich Kryukov 137
2 ppolymorphe 71
3 Mika Wendelius 70
4 chainerlt 70
0 OriginalGriff 9,050
1 Sergey Alexandrovich Kryukov 8,417
2 CPallini 5,189
3 Maciej Los 4,726
4 Mika Wendelius 3,636


Advertise | Privacy | Mobile
Web04 | 2.8.150819.1 | Last Updated 16 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100