c++ cli - How can I force a listbox to a certain height? (height is automatically adjusted so the bottom row is not partially visible) -
i resizing , positioning listbox this:
rectangle r (x, y, width, height); listbox->bounds = r;
the height seems automatically adjusted become multiple of height of item. (making these numbers up): if height of each row 10, , set listbox height 105, automatically adjusted become 100. happens when listbox not populated. result minor cosmetic problem occurring when user re-sizes window (and listbox re-sized along it).
is there way force height?
setting integralheight property false allows partial display of items. listbox
height can adjusted arbitrarily.
Comments
Post a Comment