Skip to content
⌘ NSIS Forum Archive

listbox hscrollbar

3 posts

SkywalkerY#

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.
jpderuiter#
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.