I want to change the width of a list box based upon the length of the strings displayed in it, but I don't know how to determine the string lengths in pixels. I assume it is related to the font and font size being used, but I don't know how to determine that either. Any suggestions would be appreciated.