Horizontal scroll bar in instfiles page
Hi,
I need a horizontal scroll bar in the instfiles page after clicking the show details button.
How should we do this?
Thanks in Advance,
Sadeesh
Archive: Horizontal scroll bar in instfiles page
Horizontal scroll bar in instfiles page
Hi,
I need a horizontal scroll bar in the instfiles page after clicking the show details button.
How should we do this?
Thanks in Advance,
Sadeesh
Function SizeInstFilesColumn
FindWindow $0 "#32770" "" $HWNDPARENT
FindWindow $0 "SysListView32" "" $0
!ifndef LVM_SETCOLUMNWIDTH
!define LVM_SETCOLUMNWIDTH 4126 ;(LVM_FIRST + 30)
!endif
SendMessage $0 ${LVM_SETCOLUMNWIDTH} 0 0xFFFF
FunctionEnd
Section
DetailPrint "Scrolllllllllllling for this long entry, leeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeets hope soooooooooooooooo hah"
call SizeInstFilesColumn
SectionEnd
Page InstFiles
Thanks.
Thanks Anders.
This works, how can we add this in uninstall pages as well?
change Function/FunctionEnd to !macro/!macroend and call to !insertmacro
Yes Andres, it works, thanks again.
But the problem is after adding this piece of code my installer becomes very slow and hags often.
If you remove the code again (and only that code), does that speed it back up?
Yes after removing the code, its working fine.
you should only call SizeInstFilesColumn once (in installer and uninstaller) not after every detailprint
Yeah i have done it only once. I have inserted that macro in my installer and uninstaller section alone.
Hi Anders,
I have one more doubt, the above code shows a scroll bar based on the text printed in detailprint, how to make the scroll bar dynamic based on the installation log printed.
Thanks,
Sadeesh