Menu

#130 installer icon for message box

closed-accepted
NSIS (71)
5
2007-04-03
2007-03-17
No

this patch is a response to feature request #1530388:
http://sourceforge.net/tracker/index.php?func=detail&aid=1530388&group_id=22049&atid=373088

it changes the messagebox code, so that you now can specify MB_USERICON for a messagebox to display one with the installers icon.

notes:
* patch affects script.cpp and util.c
* patch does not include testfiles or documentation yet
* patch was diff'ed against NSIS cvs from march 17, 2007

Discussion

  • Anonymous

    Anonymous - 2007-03-17

    patch file for Source/script.cpp and Source/exehead/util.c

     
  • Amir Szekely

    Amir Szekely - 2007-03-18

    Logged In: YES
    user_id=584402
    Originator: NO

    According to MSDN, value of dwLanguageId should be supported by the system. LANG_NEUTRAL, which is 0, seems like the right choice to me.

    Also, mbp can be defined static to save some bytes as it'll be zeroed by default.

     
  • Anonymous

    Anonymous - 2007-03-18

    Logged In: YES
    user_id=970495
    Originator: YES

    yes, those are good points.

    for the languageid: i tried to set it with the chosen language of the installer but failed so far.
    do you know how to do that?

    i guess you can do those fixes for yourself, no need for a new patchfile ;)

     
  • Amir Szekely

    Amir Szekely - 2007-04-03
    • status: open --> closed-accepted
     
  • Amir Szekely

    Amir Szekely - 2007-04-03

    Logged In: YES
    user_id=584402
    Originator: NO

    Thanks, applied.

     

Log in to post a comment.