Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a dialog based application and I placed a CListControl on it. I am trying to set text in subitem / cell in multiple lines. For this I have set list control's OWNER DRAW FIXED to TRUE. But I am not able to see the text in proper format. I can see only the first letter of text. This will work in older version of VC++ (say 6.0). Currently I am using VS2010 VC++ MFC. Please let me know if I need to set any of the list control properties.
If I set the list control's OWNER DRAW FIXED to FALSE then I can see the whole sentence in a single row but not in Multiline. I am using List Control's View property as "Report".

Regds
SNI
Posted

1 solution

// I can see only the first letter of text.
// This will work in older version of VC++ (say 6.0).

Maybe, an unicode conflict, after the porting.
Please check your new project's settings :)
 
Share this answer
 

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