CListCtrl Row height
-
:doh: Hello friends, how can I know the height of a row in the listview and how can i set the height of the row at the runtime dependign upon the text. Please help me regarding the above problem. Thank you in advance. Neelesh K J Jain.
-
:doh: Hello friends, how can I know the height of a row in the listview and how can i set the height of the row at the runtime dependign upon the text. Please help me regarding the above problem. Thank you in advance. Neelesh K J Jain.
Hi, I replied to your other post about this a few days ago. Have a look at this article. http://www.codeproject.com/combobox/listboxex.asp[^] This is basically about making your own version of a control. It uses a listbox as an example, but its the same general idea with any control. The author works with height and width in it so that should help you out. Getting back to your original problem, I think that there may be an easier way to get it to display. Either there is a property in the list control that controls this or there is a function that allows the text to display. If you click on a file you'll notice that it seems to toggle the text to on, and then when you switch to another file it goes back to the "...". So I think there's a function that you can use. However, if you have a lot of text, it will overlap with images below it, so you would have to adjust the row height as well if that's the case.