
How to change the column width of a multi-line list box
Hi Mike,
you can send a message to the ListBox to change the column width:
Const LB_SETCOLUMNWIDTH = &H195
Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd
As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Long) As Long
dim ColWidth as byte
SendMessage List1.hwnd, LB_SETCOLUMNWIDTH, ColWidth, 0
Hope tius helps...
Hartmut
Mike Matheny schrieb in Nachricht
Quote:
>How do you change the column width of a multi-line list box? Right now,
>they are about TWICE as wide as the data they are holding, and really look
>shoddy.