bigger banner ?
according to my previous question:
http://forums.winamp.com/showthread....hreadid=148501
I need to show more information as one line with action behind.
possible?
Archive: bigger banner ?
bigger banner ?
according to my previous question:
http://forums.winamp.com/showthread....hreadid=148501
I need to show more information as one line with action behind.
possible?
You can use a custom UI resource for dialog 111.
where to find ???
Get a resource editor, customize a UI in Contrib\UIs and use ChangeUI.
ah found it - now at least - which one?
default.exe, modern.exe or sdbarker_tiny.exe
i use modern UI but modern.exe differs from the other two.
111 DIALOGEX 0, 0, 167, 42
STYLE DS_FIXEDSYS | DS_MODALFRAME | DS_CENTER | WS_POPUP
CAPTION ""
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Shell Dlg"
{
CONTROL "", 1030, STATIC, SS_CENTER | WS_CHILD | WS_VISIBLE, 40, 25, 120, 10
CONTROL 103, -1, STATIC, SS_ICON | WS_CHILD | WS_VISIBLE, 10, 10, 21, 20
CONTROL "Please wait while Setup is loading...", 76, STATIC, SS_CENTER | WS_CHILD | WS_VISIBLE, 40, 10, 120, 10
}
111 DIALOGEX 0, 0, 162, 22
STYLE DS_FIXEDSYS | DS_MODALFRAME | DS_CENTER | WS_POPUP
CAPTION ""
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Shell Dlg"
{
CONTROL "", 1030, STATIC, SS_CENTER | WS_CHILD | WS_VISIBLE | WS_GROUP, 7, 7, 148, 8
}
If you are using the Modern UI you'll have to customize dialog 111 of modern.exe. Then use ChangeUI with the id IDD_VERIFY (put it after the Modern UI page macros).
i'm getting nearer - i found some text in the banner-readme
ahem - is it possible to change the EXE?
example from system.nsh
!insertmacro MUI_DEFAULT MUI_UI "${NSISDIR}\Contrib\UIs\modern.exe"
eg.
!insertmacro MUI_DEFAULT MUI_UI "${NSISDIR}\Contrib\UIs\modern1.exe"
where modern1.exe contains my new banner-ui
i dont want to modify the original files cause this is a specific use only not for other scripts i wrote.
btw what means /set 54
Custom UIis that possible?
---------
If you have more labels on your IDD_VERIFY dialog, you can use multiple /set parameters to change the texts.
Example:
Banner::show /NOUNLOAD /set 76 "bah #1" /set 54 "bah #2" "Normal text"
The second parameter for /set is the ID of the control.
You can use one label with multiple lines. You only need a custom resource file with dialog 111 (you don't have to modify the original files). Use ChangeUI (not a Modern UI setting) after inserting the page macros. The IDD_VERIFY parameter for ChangeUI will make it change only this dialog.
you make me crazy ;)
>> custom resource file with dialog 111
i dont have the opportunity to create anything like this (with a compiler)
(in contrast to use eg. ressource hacker)
sure i can delete unused dialogs
>> Use ChangeUI
you are talking in riddles to me
i found seprate test for "ChangeUI" but not in conjunction with "idd_verify"
so what is the correct script?
!define MUI_UI "${NSISDIR}\Contrib\UIs\modern1.exe"
ChangeUI all "${MUI_UI}"
and now?
PS this size so far
111 DIALOGEX 0, 0, 200, 95
STYLE DS_FIXEDSYS | DS_MODALFRAME | DS_CENTER | WS_POPUP
CAPTION ""
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Shell Dlg"
{
CONTROL "", 1030, STATIC, SS_CENTER | WS_CHILD | WS_VISIBLE, 40, 25, 150, 60
CONTROL 103, -1, STATIC, SS_ICON | WS_CHILD | WS_VISIBLE, 10, 10, 21, 20
CONTROL "Please wait while Setup is loading...", 76, STATIC, SS_CENTER | WS_CHILD | WS_VISIBLE, 40, 10, 120, 10
}
shit happens
thats it :D
>> !define MUI_UI "${NSISDIR}\Contrib\UIs\modern1.exe"
>> ChangeUI all "${MUI_UI}"
(with modified exe)
thx 4all
You don't have to define MUI_UI. The only thing you need is:
ChangeUI IDD_VERIFY "customfile.exe"
Make sure you put it after the page macros.