Copy details to clipboard added into NLF
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@857 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
942081efff
commit
7e8b07d7a5
3 changed files with 4 additions and 1 deletions
|
@ -1414,7 +1414,7 @@ static BOOL CALLBACK InstProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
|
||||||
{
|
{
|
||||||
DWORD pos = GetMessagePos();
|
DWORD pos = GetMessagePos();
|
||||||
HMENU menu = CreatePopupMenu();
|
HMENU menu = CreatePopupMenu();
|
||||||
AppendMenu(menu,MF_STRING,1,"Copy Details To Clipboard");
|
AppendMenu(menu,MF_STRING,1,GetStringFromStringTab(GetLangString(LANGID_COPYDEATAILS)));
|
||||||
if (1==TrackPopupMenu(
|
if (1==TrackPopupMenu(
|
||||||
menu,
|
menu,
|
||||||
TPM_NONOTIFY|TPM_RETURNCMD,
|
TPM_NONOTIFY|TPM_RETURNCMD,
|
||||||
|
|
|
@ -220,6 +220,7 @@ typedef struct
|
||||||
int inst_corrupted;
|
int inst_corrupted;
|
||||||
int output_dir;
|
int output_dir;
|
||||||
int create_dir;
|
int create_dir;
|
||||||
|
int copy_details;
|
||||||
|
|
||||||
// Note - should be at the end (everything before here should be just ints)
|
// Note - should be at the end (everything before here should be just ints)
|
||||||
WORD lang_id;
|
WORD lang_id;
|
||||||
|
|
|
@ -161,5 +161,7 @@ typedef void *langid_t; // Just so compiler can warn if an ID is given to a
|
||||||
#define LANGID_CREATEDUNINST (COMMON_ID(created_uninst))
|
#define LANGID_CREATEDUNINST (COMMON_ID(created_uninst))
|
||||||
#define LANG_INSTCORRUPTED (COMMON_STR(inst_corrupted))
|
#define LANG_INSTCORRUPTED (COMMON_STR(inst_corrupted))
|
||||||
#define LANGID_INSTCORRUPTED (COMMON_ID(inst_corrupted))
|
#define LANGID_INSTCORRUPTED (COMMON_ID(inst_corrupted))
|
||||||
|
#define LANG_COPYDEATAILS (COMMON_STR(copy_details))
|
||||||
|
#define LANGID_COPYDEATAILS (COMMON_ID(copy_details))
|
||||||
|
|
||||||
#endif//_NSIS_LANG_H_
|
#endif//_NSIS_LANG_H_
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue