Skip to content
⌘ NSIS Forum Archive

MUI_PAGE_LICENSE resize text space

8 posts

NOCaut#

MUI_PAGE_LICENSE resize text space

i want hide MUI_LICENSEPAGE_TEXT_BOTTOM and resize license text space on the all page.
how this can be done? thanks.
MSG#
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.
NOCaut#edited
FindWindow $1 "#32770" "" $HWNDPARENT
GetDlgItem $1 $1 1000
System::Call "User32::SetWindowPos(i, i, i, i, i, i, i) b ($1, 0, 0, 100, 340, 0, 3)"
;SendMessage $1 ${WM_SETFONT} $2 0
font change but SetWindowPos work. next:- how hide MUI_LICENSEPAGE_TEXT_BOTTOM ?
NOCaut#
Function lic_show
StrCmp $R1 '0' btncheck

FindWindow $1 "#32770" "" $HWNDPARENT
GetDlgItem $2 $1 1006
ShowWindow $2 ${SW_HIDE}

GetDlgItem $1 $1 1000
System::Call "User32::SetWindowPos(i, i, i, i, i, i, i) b ($1, 0, 0, 40, 0, 0, 1)"
btncheck:
strcmp '$0' '2' 0 end
GetDlgItem $1 $HWNDPARENT 3
EnableWindow $1 0
end:
FunctionEnd
thanks to all. this source move but not resize text space