D
Dan Ardelean
Hi,
Given a string, the font and the maximum width how can I
get the height in which the text will fit?? (I have
problems because of the word wrap). The result must help
me in building a list control which adapts the dimension
of the items so the largest item (text) in the list is
fully visible on the screen and the list without
horizontal scrollbar.
Any ideas?
Thanks!
Given a string, the font and the maximum width how can I
get the height in which the text will fit?? (I have
problems because of the word wrap). The result must help
me in building a list control which adapts the dimension
of the items so the largest item (text) in the list is
fully visible on the screen and the list without
horizontal scrollbar.
Any ideas?
Thanks!