{
if (_istalnum(szShortDateSep[nSepCount]) || (szShortDateSep[nSepCount] == _T('\'')))
{
- MessageBox(NULL,
- _T("Entered short date separator contain incorrect symbol"),
- _T("Error"), MB_OK | MB_ICONERROR);
+ PrintErrorMsgBox(IDS_ERROR_SYMBOL_SEPARATE);
return FALSE;
}
}
!isDateCompAl(szShortDateFmt[nDateCompCount]) &&
!OpenApostFlg)
{
- MessageBox(NULL,
- _T("Entered short date format contain incorrect symbol"),
- _T("Error"), MB_OK | MB_ICONERROR);
+ PrintErrorMsgBox(IDS_ERROR_SYMBOL_FORMAT_SHORT);
return FALSE;
}
if (OpenApostFlg)
{
- MessageBoxW(NULL,
- _T("Entered short date format contain incorrect symbol"),
- _T("Error"), MB_OK | MB_ICONERROR);
+ PrintErrorMsgBox(IDS_ERROR_SYMBOL_FORMAT_SHORT);
return FALSE;
}
!isDateCompAl(szLongDateFmt[nDateCompCount]) &&
!OpenApostFlg)
{
- MessageBox(NULL,
- _T("Entered long date format contain incorrect symbol"),
- _T("Error"), MB_OK | MB_ICONERROR);
+ PrintErrorMsgBox(IDS_ERROR_SYMBOL_FORMAT_LONG);
return FALSE;
}
if (OpenApostFlg)
{
- MessageBoxW(NULL,
- _T("Entered long date format contain incorrect symbol"),
- _T("Error"), MB_OK | MB_ICONERROR);
+ PrintErrorMsgBox(IDS_ERROR_SYMBOL_FORMAT_LONG);
return FALSE;
}
}
case IDC_SCR_MAX_YEAR:
{
- /* Set "Apply" button enabled */
- /* FIXME */
- //PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
+ /* Set "Apply" button enabled */
+ /* FIXME */
+ //PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
}
break;
case IDC_CALTYPE_COMBO: