CListView Problem
-
Hello Friends, I am having CListView in which I am displaying some image and underneath them I having some text. The Main problem is that whenever the text is not having sufficient space then its displaying ... and when I select the text gets wrapped to the next line. Please give me a solution for not displaying the three dots(...) and the text should be displayed on the next line. Thank you in advance. Neelesh K J Jain.
-
Hello Friends, I am having CListView in which I am displaying some image and underneath them I having some text. The Main problem is that whenever the text is not having sufficient space then its displaying ... and when I select the text gets wrapped to the next line. Please give me a solution for not displaying the three dots(...) and the text should be displayed on the next line. Thank you in advance. Neelesh K J Jain.
Hi, While I've never done anything with images and text in a ListView I have an idea that might help you. This is the same thing that happens if you look in any folder and the name is too long. The obvious reason you get the "..." is because displaying the full name could overlap with an image below the text. Each row has a certain height to it and if the text goes beyond the height it gets truncated. At least that's how I see it. So my idea is for you to manually override the row height and change it to make the text fit. I don't know if this definitely will work, but its worth a shot. Edit: After messing around inside a folder, it seems that there usually is enough space to display most names without doing that. Maybe there is a property you can check to allow it to display?