Dismiss the splash dialog when user hits window close.
This commit is contained in:
@@ -259,6 +259,7 @@ NHSplashWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
|||||||
|
|
||||||
case WM_COMMAND:
|
case WM_COMMAND:
|
||||||
switch (LOWORD(wParam)) {
|
switch (LOWORD(wParam)) {
|
||||||
|
case IDCANCEL:
|
||||||
case IDOK:
|
case IDOK:
|
||||||
mswin_window_mark_dead(mswin_winid_from_handle(hWnd));
|
mswin_window_mark_dead(mswin_winid_from_handle(hWnd));
|
||||||
if (GetNHApp()->hMainWnd == hWnd)
|
if (GetNHApp()->hMainWnd == hWnd)
|
||||||
|
|||||||
Reference in New Issue
Block a user