Posted on 2004-10-07
i want to resize my comboboxes to match the size of the textboxes.
i've seen that i can use:
cbo.DrawMode = DrawMode.OwnerDrawFixed
to specify a custom height.
the problem is that once i do that i can't see any items in the comboxbox dropdown. The dropdown is the correct height for the number of items, and if i click inside the dropdown it selects the text thats there, just i can't see the text.
i'm thinking i need to capture some event and maybe call the base class, just not sure which one or if i'm on the right track.