implemented feature request #711900 - StartMenu SetCtlColors support

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3916 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-03-04 13:04:14 +00:00
parent 8db5fa9604
commit e9efbba1a2
3 changed files with 55 additions and 12 deletions

View file

@ -29,6 +29,19 @@ prefixed with '>'. The function does not push the full path but only the selecte
sub-folder. It's up to you to decide if to put it in the current user or all
users start menu.
Look at Example.nsi for an example.
To set properties of the controls on the page, such as colors and fonts use Init
and Show instead of Select. Init will push the HWND of the page on the stack,
or an error string. For example:
StartMenu::Init /NOUNLOAD "Test"
Pop $0
IntCmp $0 0 failed
GetDlgItem $0 $0 1003
SetCtlColors $0 "" FF0000
StartMenu::Show
# continue as with Select here
failed:
Look at Example.nsi for a full example (without Init and Select).
Created by Amir Szekely (aka KiCHiK)