From: SourceForge.net <no...@so...> - 2006-08-29 08:38:20
|
Feature Requests item #1547844, was opened at 2006-08-28 14:25 Message generated for change (Comment added) made by kichik You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373088&aid=1547844&group_id=22049 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Modern UI Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Joost Verburg (joostverburg) Summary: default button of the abort warning Initial Comment: It should be possible to set the default button of the message box that is displayed when the installation/uninstallation is canceled. ---------------------------------------------------------------------- >Comment By: Amir Szekely (kichik) Date: 2006-08-29 11:38 Message: Logged In: YES user_id=584402 You're right, my mistake. You'll have to modify System.nsh for this one. A patch would be gladly accepted, of course. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2006-08-29 11:19 Message: Logged In: NO Hi kichik, thanks for the fast response. I think MUI_CUSTOMFUNCTION_ABORT/MUI_CUSTOMFUNCTION_UNABORT give the user a way to provide it's own abort function. But this function is called after the default message box has been displayed (see macro MUI_FUNCTION_ABORTWARNING in system.nsh). To suppress the message box I'm not allowed to define MUI_ABORTWARNING/... So I can provide may own message box with the function defined by MUI_CUSTOMFUNCTION_ABORT/... But the problem is: if I don't define MUI_ABORTWARNING I also suppress translations provided for the message box (see macro MUI_LANGUAGEFILE_END in system.nsh) and I cannot use them for my own message box. ---------------------------------------------------------------------- Comment By: Amir Szekely (kichik) Date: 2006-08-29 10:39 Message: Logged In: YES user_id=584402 For that you have MUI_CUSTOMFUNCTION_ABORT and MUI_CUSTOMFUNCTION_UNABORT. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2006-08-29 09:52 Message: Logged In: NO Yes that's true, but without the definition of MUI_ABORTWARNING/MUI_UNABORTWARNING i don't get the appropriate language strings for the message. On the other side, if I define MUI_ABORTWARNING/MUI_UNABORTWARNING i cannot provide my own .onUserAbort ... Or am I wrong? ---------------------------------------------------------------------- Comment By: Amir Szekely (kichik) Date: 2006-08-28 15:43 Message: Logged In: YES user_id=584402 For now, you can define your own .onUserAbort and use MB_DEFBUTTON1 or MB_DEFBUTTON2. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373088&aid=1547844&group_id=22049 |