nsDialogs::OnNotify can now return values back to Windows, also fixes bug #1216
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7054 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
4f695dbd30
commit
a523c05626
6 changed files with 54 additions and 18 deletions
|
@ -5,7 +5,11 @@
|
|||
|
||||
#include <windows.h>
|
||||
|
||||
#define NSDFUNC __stdcall
|
||||
#define NSDFUNC WINAPI
|
||||
|
||||
#define DlgRet(hDlg, val) ( SetWindowLongPtr((hDlg), DWLP_MSGRESULT, (val)) | TRUE )
|
||||
#define StrToIntPtr nsishelper_str_to_ptr
|
||||
|
||||
|
||||
typedef int nsFunction;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue