AlejandroVK
5th October 2009 11:57 UTC
nsDialgos first steps
Hi there,
I'm a complete newbie in NSIS and specially with nsDialogs. I'm making my first custom page with nsDialogs and some pretty basic questions come to my mind. I've been looking everywhere for an answer but I can't seem to find one. Questions are:
1.- nsDialogs::Create 1018 creates a standard dialog with two buttons at the bottom. Is there any way I can change the title of this default dialog?
2.- Can I also remove this buttons? I'm gonna use this dialog for the specification of some paths...so I only need a 'Next' button and probably a "Previous" one...
Thanks!
Regards,
Alex
MSG
5th October 2009 12:19 UTC
1. Try !insertmacro MUI_HEADER_TEXT "Title" "Subtitle" before calling nsDialogs::Show.
2. See this thread: http://forums.winamp.com/showthread....hreadid=295227 , only use ShowWindow instead of EnableWindow (or both, even).
See: http://nsis.sourceforge.net/Docs/Cha...html#4.9.14.17
AlejandroVK
5th October 2009 14:53 UTC
Thanks for the quick response MSG, checking those links...
AlejandroVK
6th October 2009 16:58 UTC
Ok, done it and works.
The thing now is, how can I change font type, size, colour, etc...from the MUI_HEADER_TEXT and also from custom Labels created with nsDialogs?
Thanks a lot for the help
AlejandroVK
7th October 2009 11:23 UTC
For those who are seeking similar answers to the question above, you may find the answer here: http://forums.winamp.com/showthread.php?postid=2561974
Regards,
Alex