Added System Beep

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@754 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
rainwater 2002-08-26 17:52:46 +00:00
parent 5337939dd8
commit 1095ad72dc

View file

@ -133,7 +133,10 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
CloseHandle(g_hThread);
g_hThread=0;
}
if (g_retcode==0) SetTitle(g_hwnd,"Finished Sucessfully");
if (g_retcode==0) {
Beep(500,250);
SetTitle(g_hwnd,"Finished Sucessfully");
}
else SetTitle(g_hwnd,"Compile Error: See Log for Details");
EnableItems(g_hwnd);
return TRUE;