Old 20th October 2015, 18:12   #1
Junior Member
Join Date: Oct 2015
Posts: 2
Can nsDialogs replace MessageBox?

I am having difficulty with the nsDialogs plugin documentation. I can't tell if I should be able to use it to do an informational popup message, rather than simply calling MessageBox. If nsDialogs works only to replace the main dialog, I'm wasting my time trying to get it set up. If it IS possible to do a popup, could someone please point me to some example code?
I'm using NSIS version 2.46 on Windows 7.
Slightly OT:
The reason I need to do this is because I'm using a "NSISVCLStyles" skin (RubyGraphite) to change the look of my installer. It works great for the main dialogs but the message box text comes up with black text on dark gray. It's almost unreadable. Attempting to set the text and/or background color doesn't work. It's my understanding (from a fair bit of online searching) that the skin overrides any specific text color assignments.
vtreude is offline   Reply With Quote
Old 20th October 2015, 22:06   #2
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,539
Then NSISVCLStyles plugin should be fixed, report it as a bug in its forum thread or contact the developer.

nsDialogs was only designed to be hosted in the main dialog but you can try http://nsis.sourceforge.net/DlgHost_plug-in but keep in mind that you cannot nest nsDialogs pages...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 20th October 2015, 22:38   #3
Junior Member
Join Date: Oct 2015
Posts: 2
Thanks, Anders. I suspected that was the case, but I didn't see anything that specifically said I couldn't nest them.
I will contact the styles plugin developer.
vtreude is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

messagebox, nsdialogs, rubygraphite

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump