hi,
i'm trying to get the bounds of an item in an ImageListBoxControl in two different places, and in each place i get a different height for the rectangle.
in the control's DrawItem event, e.Bounds.Height returns 16, which seems to be the right thing (this is the height of the items in the winforms ListView). if i break the program at that point and check the ImageListBoxControl.GetItemRectangle(0) in the Immediate window, i also get a height of 16.
but, if i inherit the ImageListBoxControl and call the GetItemRectangle there (usually after a SelectionChanged event), i get a rectangle with a height of 20. what gives?