Archive: listbox hscrollbar


listbox hscrollbar
Hi, I add strings in listbox by

SendMessage $1 ${LB_ADDSTRING} 1 "STR:$R0"

ListBox has HSCROLL flag. But for enable horizontal scrollbar needed to send message
System::Call user32::SendMessage(i$1,i${LB_SETHORIZONTALEXTENT},i$5,t.r4)

The problem is that i dont know how to get item width by LB_GETITEMRECT message.

http://forums.winamp.com/showthread.php?t=300489


Thanks. It's worked.