More translation template resource fixes

This commit is contained in:
Barry Harris 2015-01-08 14:44:42 +00:00
parent 4a982ab7a3
commit 3f48a6f71b
5 changed files with 10 additions and 7 deletions

View File

@ -400,7 +400,7 @@ CAPTION "FB Alpha system information report"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,274,131,70,14
PUSHBUTTON "Save...",IDC_SYSINFO_LOG,200,131,70,14
PUSHBUTTON "Save...",IDC_SYSINFO_LOG_SAVE,200,131,70,14
CONTROL "",IDC_SYSINFO_EDIT,"EDIT",ES_MULTILINE | ES_WANTRETURN | ES_READONLY | WS_TABSTOP | WS_VSCROLL,3,3,342,122, WS_EX_STATICEDGE
END
@ -573,7 +573,7 @@ BEGIN
CONTROL "D",IDC_GFX_VIEWER_HORI_14,"Static",0,211,3,8,8
CONTROL "E",IDC_GFX_VIEWER_HORI_15,"Static",0,226,3,8,8
CONTROL "F",IDC_GFX_VIEWER_HORI_16,"Static",0,240,3,8,8
LTEXT "Selected colour: ",IDC_LABELCOMMENT,3,226,80,8,NOT WS_GROUP
LTEXT "Selected colour: ",IDC_GFX_VIEWER_SEL_COL,3,226,80,8,NOT WS_GROUP
DEFPUSHBUTTON "Close",IDCANCEL,256,206,60,14
CONTROL "Previous...",IDC_GFX_VIEWER_PREV,"Button",WS_TABSTOP,256,13,60,14
CONTROL "Next...",IDC_GFX_VIEWER_NEXT,"Button",WS_TABSTOP,256,33,60,14
@ -729,7 +729,7 @@ BEGIN
CONTROL "List1",IDC_LIST1,"SysListView32",LVS_REPORT | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,8,94,504,247
CONTROL "List2",IDC_LIST2,"SysListView32",LVS_REPORT | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,8,94,504,247
CONTROL "",IDC_MESSAGE_EDIT_ENG,"RICHEDIT20A",WS_VSCROLL | WS_SYSMENU | 0x804,8,94,504,247,WS_EX_STATICEDGE | ES_EX_NOCALLOLEINIT
PUSHBUTTON "Rescan Romset",IDRESCAN,390,351,60,14
PUSHBUTTON "Rescan Romset",IDRESCANSET,390,351,60,14
DEFPUSHBUTTON "Close",IDCANCEL,456,351,60,14
END

View File

@ -613,7 +613,7 @@ static INT_PTR CALLBACK DialogProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lP
return 0;
}
if (Id == IDRESCAN && Notify == BN_CLICKED) {
if (Id == IDRESCANSET && Notify == BN_CLICKED) {
nBurnDrvActive = nGiDriverSelected;
// use the nBurnDrvActive value from when the Rom Info button was clicked, because it can/will change
// even though the selection list [window below it] doesn't have focus. -dink

View File

@ -114,7 +114,7 @@ static INT_PTR CALLBACK DialogProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lP
szText[0] = _T('\0');
_stprintf(szText, _T("Selected colour: #%05X RGB #%02X%02X%02X"), i + nPalettePosition, r, g, b);
SendMessage(GetDlgItem(hPaletteViewerDlg, IDC_LABELCOMMENT), WM_SETTEXT, (WPARAM)0, (LPARAM)szText);
SendMessage(GetDlgItem(hPaletteViewerDlg, IDC_GFX_VIEWER_SEL_COL), WM_SETTEXT, (WPARAM)0, (LPARAM)szText);
return 0;
}
}

View File

@ -177,6 +177,7 @@
#define IDC_SEL_SEARCHGROUP 20135
#define IDC_RESOLUTION 20136
#define IDC_CHECKUNAVAILABLE 20137
#define IDC_SYSINFO_LOG_SAVE 20138
#define IDC_DRVCOUNT 20200
#define IDC_TREE2 20201
@ -232,6 +233,7 @@
#define IDC_GFX_VIEWER_VERT_16 20431
#define IDC_GFX_VIEWER_PREV 20432
#define IDC_GFX_VIEWER_NEXT 20433
#define IDC_GFX_VIEWER_SEL_COL 20434
#define IDC_TAB1 20500
#define IDC_SPATH_TAB 20501
@ -240,6 +242,7 @@
#define IDROM 20600
#define IDRESCAN 20601
#define IDGAMEINFO 20602
#define IDRESCANSET 20603
#define IDC_MVS_CART1 20700
#define IDC_MVS_CART2 20701

View File

@ -999,7 +999,7 @@ static INT_PTR CALLBACK SysInfoProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM l
WndInMid(hDlg, hScrnWnd);
}
if (LOWORD(wParam) == IDC_SYSINFO_LOG) {
if (LOWORD(wParam) == IDC_SYSINFO_LOG_SAVE) {
FILE* fp = NULL;
SendMessage(hDlg, WM_NEXTDLGCTL, (WPARAM)GetDlgItem(hDlg, IDOK), TRUE);
@ -1009,7 +1009,7 @@ static INT_PTR CALLBACK SysInfoProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM l
_stprintf(szLogName, _T("config/%s.error.log"), szAppExeName);
fp = _tfopen(szLogName, _T("ab"));
EnableWindow(GetDlgItem(hDlg, IDC_SYSINFO_LOG), FALSE);
EnableWindow(GetDlgItem(hDlg, IDC_SYSINFO_LOG_SAVE), FALSE);
} else {
TCHAR szFilter[1024];