BrandingText now automatically resizes for all languages in the MUI

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2082 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-01-27 15:05:50 +00:00
parent a4885280f1
commit 6f3fdd6650
10 changed files with 33 additions and 3 deletions

View file

@ -762,12 +762,19 @@ static int NSISCALL ExecuteEntry(entry *entry_)
)
);
return 0;
case EW_GETWINTEXT:
my_GetWindowText(
(HWND)process_string_fromparm_toint(1),
var0,
NSIS_MAX_STRLEN
);
return 0;
case EW_SETSTATICBKCOLOR:
DeleteObject(
(HGDIOBJ)SetWindowLong(
(HWND)process_string_fromparm_toint(0),
GWL_USERDATA,
(LONG)CreateSolidBrush(parm1)
parm1==-1?parm1:(LONG)CreateSolidBrush(parm1)
)
);
return 0;