Is there a way to wrap words in a ListBox cell when the text is too long to be seen in its entirety, automatically deepening the row to fit the wrapped text?
You can use CellTextDraw only when the text is too long.
Then it becomes very simple :
Function CellTextPaint(g As Graphics, row As Integer, column As Integer, x as Integer, y as Integer) Handles CellTextPaint as Boolean if g.stringwidth(me.cell(row,column)) > g.width then g.drawstring(me.cell(row,column), 2, g.height*0.4, g.width-3) return true end if End Function
Make sure to have enough DefaultRowHeight for text to wrap.
Karen's Mergeable Cell Listbox does it (and many other things)