ListBox: programmatic determination of row height

J

jfp

I can examine the various properties of a list box and thereby determine
things such as the height and width (twips) of the entire control as
well as the width (twips) of each column. How do i get the height of an
individual row? This is not directly available. The number of rows
displayed is also not available, so i cannot calculate a single row
height from the total control height.
Any ideas?
Do i have to use some calculation based on font name / size /weight? If
so, what is it?

Thanks !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top