Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 25th June 2012, 08:46   #1
shivakumar.mn
Junior Member
 
Join Date: Jun 2012
Posts: 1
Changing the text of YES No Cancel buttons in "MessageBox MB_YESNOCANCEL"

Hi All,
Is there a way to change the default button labels in MessageBox MB_YESNOCANCEL ?

I want to change the label to Upgrade Uninstall Cancel

Regards,
shivakumar
shivakumar.mn is offline   Reply With Quote
Old 25th June 2012, 11:39   #2
T.Slappy
Major Dude
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 566
Send a message via ICQ to T.Slappy
This "MessageBox" functionality is based on Windows localization.
I suppose NSIS uses pure API calls and in such situation buttons will always have text from Windows language pack which cannot be changed at runtime.

E.g. in my case it is: Ano / Nie/ Zrusit (Slovakian Yes / No / Cancel).

Solution #1: write simple C/C++ plug-in (custom window with 3 buttons, label and icon)

Solution #2: try to use nsWindows plug-in to create the same window as in #1.

Cool looking installers with custom design: www.graphical-installer.com
Create Setup Pages easily: www.install-designer.com
Build installers in Visual Studio 2005-2022: www.visual-installer.com
or RAD Studio 2009 - 11 Alexandria: www.rad-installer.com
T.Slappy is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

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