15 pts.
 Listbox with DrawMode=OwnerDrawVariable, but i want Multicolumn=true.
Hi all, i have problem with the ListBox. i want to set the item height of the item inside the ListBox. so i set DrawMode=DrawMode=OwnerDrawVariable, but in the same time i want the item displayed in multicolumn. The problem is there is not multicolumn when i set DrawMode=DrawMode=OwnerDrawVariable set. Thanks for reading this.

Software/Hardware used:
ASKED: October 7, 2008  1:51 AM
UPDATED: October 9, 2008  3:46 AM

Answer Wiki:
I would think you would draw a row of colums as a single line, including your own separators, in the DrawItem method and set the height to max height of each individual column entry for a given row in MeasureItem. If column entries are not supposed to line up, ie can have different heights in the one row, it might be simplest to use multiple list boxes with tied scrolling.
Last Wiki Answer Submitted:  October 8, 2008  1:01 am  by  BobBeechey   750 pts.
All Answer Wiki Contributors:  BobBeechey   750 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

If i do a single row three column with separator between it, i can not have multi- selection. if i do that, when i selected a row, the selected row will highlight all column in that row. i dont want that, what i need is multicolumn and multiselection with set itemheight. sorry if i sound like too demanding. English is not my everyday language, so the word i choose may be sound offensive.LOL.

 15 pts.