|
|
#1 |
|
Junior Member
Join Date: Jul 2007
Posts: 4
|
How to change background color of custom page in NSIS
Hi there,
I'm using NSIS with Ultra Modern UI. Now I made custom page with the NSIS Dialogs plugin (Good work, BTW). I want to change the background color of the page, as the other pages are blue, but this is grey. How do I do this? Here's an excerpt of the code: code: |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,336
|
Use SetCtlColors on the HWND nsDialogs::Create returns (the first Pop $0).
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jul 2007
Posts: 4
|
Thank you very much, kichik.
But now, I have another problem. When I leave the custom page via the next-button, the following page is not working, e.g. if you click the buttons, nothing happens. I attached the script. |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,336
|
You're calling nsDialogs::Show in the same page function twice. You should separate each nsDialogs::Create, ${NSD_Create...}, nsDialogs::Show sequence and put it in a different page function.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jul 2007
Posts: 4
|
Thank you very much for your help.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|