564 |
//AddToRot(m_pGraph, &dwReg); |
//AddToRot(m_pGraph, &dwReg); |
565 |
|
|
566 |
if (hr == S_OK && in_Pass != 2) { // Make progress bar visible |
if (hr == S_OK && in_Pass != 2) { // Make progress bar visible |
567 |
TCHAR buf[MAX_PATH+50]; |
TCHAR buf[MAX_PATH+50], buf2[MAX_PATH]; |
568 |
|
if (wcslen(m_szSourceFilePath) > 60) { |
569 |
|
PathCompactPathEx(buf2, m_szSourceFilePath, 60, 0); |
570 |
|
swprintf(buf, MAX_PATH+50, TEXT("Converting %s"), buf2); |
571 |
|
} |
572 |
|
else |
573 |
swprintf(buf, MAX_PATH+50, TEXT("Converting %s..."), m_szSourceFilePath); |
swprintf(buf, MAX_PATH+50, TEXT("Converting %s..."), m_szSourceFilePath); |
574 |
|
|
575 |
ShowWindow(GetDlgItem(ghDlg, IDC_EDIT_SRC), SW_HIDE); |
ShowWindow(GetDlgItem(ghDlg, IDC_EDIT_SRC), SW_HIDE); |
576 |
ShowWindow(GetDlgItem(ghDlg, IDC_BUTTON_SRC), SW_HIDE); |
ShowWindow(GetDlgItem(ghDlg, IDC_BUTTON_SRC), SW_HIDE); |
577 |
ShowWindow(GetDlgItem(ghDlg, IDC_EDIT_DST), SW_HIDE); |
ShowWindow(GetDlgItem(ghDlg, IDC_EDIT_DST), SW_HIDE); |