WINAMP.COM | Forums > Developer Center > NSIS Discussion > Multiple License Pages |
Last Thread
Next Thread
|
| Author |
|
|
Joel Debian user (Forum King)
Registered: Jan 2003 |
I don't know .... code: With [Modern UI] code: __________________ |
||
|
|
|
cpriest Junior Member
Registered: Apr 2003 |
How can I get the two license pages to show a different license file? |
||
|
|
|
Joel Debian user (Forum King)
Registered: Jan 2003 |
Didn't you want the same license file? __________________ |
||
|
|
|
kichik M.I.A. [NSIS Dev, Mod]
Registered: Oct 2001 |
It's not entirely impossible, just a bit hard. You can create two license Pages (in one of the ways Lobo Lunar mentioned) and then on the show function of one of them use SendMessage (hwnd) ${WM_SETTEXT} 0 "STR:Another license$\r$\nRead this...". You can't use RTFs with this, and the text size is limited to 1024 unless you've recompiled NSIS with a larger NSIS_MAX_STRLEN. Replace 1024 with the license box control id and you'll get it's HWND. WM_SETTEXT is defined in WinMessages.nsh (!include WinMessages.nsh). __________________ |
||
|
|
|
cpriest Junior Member
Registered: Apr 2003 |
I needed it to deal with more than 1024 bytes of data, so I wrote a plugin to do it, and I've uploaded that plugin to the archive... |
||
|
|
|
dkt44_56 Banned
Registered: Apr 2003 |
Lame dude, Lame. |
||
|
|
|
Joel Debian user (Forum King)
Registered: Jan 2003 |
What's lame dkt44_56 ? __________________ |
||
|
|
|
cpriest Junior Member
Registered: Apr 2003 |
What are the major differences to make it backward compatible? |
||
|
|
|
Joel Debian user (Forum King)
Registered: Jan 2003 |
Not for me dude. __________________ |
||
|
|
|
Joost Verburg NSIS MUI Dev
Registered: Nov 2001 |
NSIS 1.98 doesn't even have the page system or the easy plugin system. |
||
|
|
|
kichik M.I.A. [NSIS Dev, Mod]
Registered: Oct 2001 |
As the paging system, especially the custom pages code is changing a lot there isn't any documentation for it yet. There aren't any GoBack(), GoPrev(), or GoCancel() functions because NSIS handles that, you just need to know to destroy your dialog and return the control to NSIS when the NSIS window gets WM_NOTIFY_OUTER_NEXT. StartMenu is a fairly simple example to that. __________________ |
||
|
|
|
Last Thread Next Thread
|
WINAMP.COM | Forums > Developer Center > NSIS Discussion > Multiple License Pages |
Forum Rules:
|